Skip to content

Commit

Permalink
removed mode: 'cors' for v8 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
spencercap committed Jun 6, 2023
1 parent 6481685 commit 4d71e3f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/client/urlTokenBaseHTTPClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@ export class URLTokenBaseHTTPClient implements BaseHTTPClient {
};

const res = await fetch(this.getURL(relativePath, query), {
mode: 'cors',
headers,
});

Expand All @@ -185,7 +184,6 @@ export class URLTokenBaseHTTPClient implements BaseHTTPClient {

const res = await fetch(this.getURL(relativePath, query), {
method: 'POST',
mode: 'cors',
body: data,
headers,
});
Expand All @@ -208,7 +206,6 @@ export class URLTokenBaseHTTPClient implements BaseHTTPClient {

const res = await fetch(this.getURL(relativePath, query), {
method: 'DELETE',
mode: 'cors',
body: data,
headers,
});
Expand Down

0 comments on commit 4d71e3f

Please sign in to comment.