2
0
Эх сурвалжийг харах

Merge pull request #57934 from Faless/js/4.x_fetch_creds

Rémi Verschelde 3 жил өмнө
parent
commit
73f1312086

+ 1 - 0
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));