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

(cherry picked from commit 63df46c238)
This commit is contained in:
Rémi Verschelde 2022-03-07 12:52:26 +01:00
parent 690020d385
commit a73bd2dec4
1 changed files with 0 additions and 1 deletions

View File

@ -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));