Skip to content

Commit

Permalink
feat: remove credentials: 'include'
Browse files Browse the repository at this point in the history
  • Loading branch information
atjsh committed Nov 6, 2023
1 parent 4187315 commit 2c03c79
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions web-client/src/lib/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,7 @@ import { PUBLIC_SERVER_URL } from '$env/static/public';
import returnFetch from 'return-fetch';

const serverFetch = returnFetch({
baseUrl: PUBLIC_SERVER_URL,
interceptors: {
request: async (requestArgs) => {
return [
requestArgs[0],
{
...requestArgs[1],
credentials: 'include'
}
];
}
}
baseUrl: PUBLIC_SERVER_URL
});

export type GetCategoryResponseData = {
Expand Down

0 comments on commit 2c03c79

Please sign in to comment.