Adding a new property to prevent script from being loaded in "modules" mode
Scripts in module mode need to be abide by the Same Origin Policy (CORS headers are used to load them) This can cause issues on some setups. This commit adds a new "scriptDisableModuleSupport" that can be used to disable the "modules" mode. Closes #1721
This commit is contained in:
+7
-1
@@ -149,7 +149,13 @@ return [
|
||||
],
|
||||
]
|
||||
],
|
||||
$extraUtilsMenu
|
||||
$extraUtilsMenu,
|
||||
[
|
||||
'title' => 'Scripting internals',
|
||||
'url' => '/map-building/scripting-internals.md',
|
||||
'markdown' => 'maps.scripting-internals',
|
||||
'editUrl' => 'https://github.com/thecodingmachine/workadventure/edit/develop/docs/maps/scripting-internals.md',
|
||||
],
|
||||
]
|
||||
],
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user