Skip to content

Commit 2c3d835

Browse files
committed
avoid OPTIONS by not sending custom headers
1 parent dd2b681 commit 2c3d835

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/background.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ const serverCall = async (args: any): Promise<any> => {
3131
const response: any = await (
3232
await fetch(SERVER_URL, {
3333
method: 'POST',
34-
headers: {
35-
'Content-Type': 'application/json',
36-
},
3734
body: JSON.stringify(args),
3835
})
3936
).json()

0 commit comments

Comments
 (0)