Browse Source

Fix external links in dioxus desktop

Evan Almloff 1 year ago
parent
commit
cb113cf4b6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/desktop/src/protocol.rs

+ 1 - 1
packages/desktop/src/protocol.rs

@@ -74,7 +74,7 @@ fn handle_edits_code() -> String {
         interpreter.replace_range(import_start..import_end, "");
     }
 
-    format!("{interpreter}\nconst config = new InterpreterConfig(false);")
+    format!("{interpreter}\nconst config = new InterpreterConfig(true);")
 }
 
 static DEFAULT_INDEX: &str = include_str!("./index.html");