Browse Source

Revert "[HTML5] Fetch API now passes credentials."

(cherry picked from commit 63df46c23837fdac05432ee5d7863bab82cc1a11)
Rémi Verschelde 3 years ago
parent
commit
a73bd2dec4
1 changed files with 0 additions and 1 deletions
  1. 0 1
      platform/javascript/js/libs/library_godot_fetch.js

+ 0 - 1
platform/javascript/js/libs/library_godot_fetch.js

@@ -89,7 +89,6 @@ 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));