remove unneeded write origin append

This commit is contained in:
Neal Shah
2026-07-23 19:03:24 -04:00
parent 48cc706ad3
commit d0e0a66226
@@ -153,10 +153,8 @@ const createApiHeaders = (authToken) => {
'Content-Type': 'application/json',
};
if ( ['web', 'app'].includes(puter.env) ) {
headers.Origin = 'https://puter.work';
}
// Origin is not set here: browsers forbid it (and set the real one), and
// the non-browser xhrshim already sets `origin: https://puter.work` itself.
return headers;
};