diff options
Diffstat (limited to 'platform/web/js/engine/config.js')
-rw-r--r-- | platform/web/js/engine/config.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/web/js/engine/config.js b/platform/web/js/engine/config.js index 61b488cf81..e4aec319c5 100644 --- a/platform/web/js/engine/config.js +++ b/platform/web/js/engine/config.js @@ -293,7 +293,7 @@ const InternalConfig = function (initConfig) { // eslint-disable-line no-unused- return {}; }, 'locateFile': function (path) { - if (!path.startsWith('godot.')) { + if (!path.startsWith('godot.') && !path.startsWith('redot.')) { return path; } else if (path.endsWith('.worker.js')) { return `${loadPath}.worker.js`; |