mirror of
https://github.com/godotengine/godot.git
synced 2024-12-04 01:52:56 +00:00
Merge pull request #98901 from adamscott/add-editor-ensure-crossorigin-isolation-headers
[Web] Ensure editor crossorigin isolation headers
This commit is contained in:
commit
3a5ce2ff94
@ -71,6 +71,7 @@ def create_template_zip(env, js, wasm, side):
|
||||
"___GODOT_OPT_CACHE___": json.dumps(opt_cache),
|
||||
"___GODOT_OFFLINE_PAGE___": "offline.html",
|
||||
"___GODOT_THREADS_ENABLED___": "true" if env["threads"] else "false",
|
||||
"___GODOT_ENSURE_CROSSORIGIN_ISOLATION_HEADERS___": "true",
|
||||
}
|
||||
html = env.Substfile(target="#bin/godot${PROGSUFFIX}.html", source=html, SUBST_DICT=subst_dict)
|
||||
in_files.append(html)
|
||||
|
Loading…
Reference in New Issue
Block a user