Skip to content

Commit

Permalink
Merge pull request #98901 from adamscott/add-editor-ensure-crossorigi…
Browse files Browse the repository at this point in the history
…n-isolation-headers

[Web] Ensure editor crossorigin isolation headers
  • Loading branch information
Repiteo committed Nov 27, 2024
2 parents 9c300a6 + 1a082fd commit 3a5ce2f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions platform/web/emscripten_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3a5ce2f

Please sign in to comment.