Преглед изворни кода

Merge pull request #58862 from godotengine/revert-57934-js/4.x_fetch_creds

Rémi Verschelde пре 3 година
родитељ
комит
1421ce6780
1 измењених фајлова са 0 додато и 1 уклоњено
  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,
 				method: method,
 				headers: headers,
 				headers: headers,
 				body: body,
 				body: body,
-				credentials: 'include',
 			};
 			};
 			obj.request = fetch(url, init);
 			obj.request = fetch(url, init);
 			obj.request.then(GodotFetch.onresponse.bind(null, id)).catch(GodotFetch.onerror.bind(null, id));
 			obj.request.then(GodotFetch.onresponse.bind(null, id)).catch(GodotFetch.onerror.bind(null, id));