Skip to content

Commit

Permalink
fix: fix credential
Browse files Browse the repository at this point in the history
  • Loading branch information
seo-rii committed Aug 5, 2024
1 parent 4bb995c commit 48a7f3e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion frontend/src/utils/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ export default function api(path: string, data: any = undefined, method = 'POST'
})
return new Promise(async (resolve, reject) => {
fetch(endpoint + path, {
credentials: 'include',
method: data ? method : 'GET',
body: data ? JSON.stringify(data) : undefined,
redirect: 'follow',
Expand Down

0 comments on commit 48a7f3e

Please sign in to comment.