From 75d75c68c4e7980f709cb75769857023a083910f Mon Sep 17 00:00:00 2001 From: bruvzg <7645683+bruvzg@users.noreply.github.com> Date: Tue, 5 Mar 2019 15:48:11 +0200 Subject: [PATCH] Fix HTML5 quick preview URL --- platform/javascript/export/export.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/javascript/export/export.cpp b/platform/javascript/export/export.cpp index 57044336505..ec610a70fd8 100644 --- a/platform/javascript/export/export.cpp +++ b/platform/javascript/export/export.cpp @@ -360,7 +360,7 @@ Error EditorExportPlatformJavaScript::run(const Ref &p_prese if (err) { return err; } - OS::get_singleton()->shell_open(path); + OS::get_singleton()->shell_open(String("file://") + path); return OK; }