summaryrefslogtreecommitdiff
path: root/platform/javascript/SCsub
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2021-03-02 16:00:24 +0100
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2021-03-06 11:44:07 +0100
commitfd7697718311338fa1d546ded4f8dc4a8a9ae8eb (patch)
treea175413c2e63d790db25a4362f3da0fb89f9622a /platform/javascript/SCsub
parent44a662a1494388c2a7c7ac0a184497569e59867b (diff)
[HTML5] Replace XMLHttpRequest with Fetch.
This has some advantages: - Streaming/chunked response support. - Broader headers support.
Diffstat (limited to 'platform/javascript/SCsub')
-rw-r--r--platform/javascript/SCsub2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/javascript/SCsub b/platform/javascript/SCsub
index 50b61c0db3..72e999b38d 100644
--- a/platform/javascript/SCsub
+++ b/platform/javascript/SCsub
@@ -17,7 +17,7 @@ sys_env.AddJSLibraries(
[
"js/libs/library_godot_audio.js",
"js/libs/library_godot_display.js",
- "js/libs/library_godot_http_request.js",
+ "js/libs/library_godot_fetch.js",
"js/libs/library_godot_os.js",
"js/libs/library_godot_runtime.js",
]