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