diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-02-11 00:06:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-11 00:06:07 +0100 |
commit | 73f13120867fed5a2e71599e33f08222bc7a140e (patch) | |
tree | 99ed5a1b3925486656b8dfd896b3ccaea8da1994 | |
parent | 80332049ee8ef9c3ac4c5b9e0c2a8d5267c57cd6 (diff) | |
parent | ffe248cbdfc70a0887970248209c586869c0855e (diff) |
Merge pull request #57934 from Faless/js/4.x_fetch_creds
-rw-r--r-- | platform/javascript/js/libs/library_godot_fetch.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/javascript/js/libs/library_godot_fetch.js b/platform/javascript/js/libs/library_godot_fetch.js index 285e50a035..007e7b70f5 100644 --- a/platform/javascript/js/libs/library_godot_fetch.js +++ b/platform/javascript/js/libs/library_godot_fetch.js @@ -89,6 +89,7 @@ const GodotFetch = { method: method, headers: headers, body: body, + credentials: 'include', }; obj.request = fetch(url, init); obj.request.then(GodotFetch.onresponse.bind(null, id)).catch(GodotFetch.onerror.bind(null, id)); |