Skip to content

Commit

Permalink
Remove a SERVER RESPONSE HEADER from FRONTEND
Browse files Browse the repository at this point in the history
  • Loading branch information
chennisden committed Jun 4, 2024
1 parent 89be7b6 commit 25bfb1b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion frontend/src/hooks/auth.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ export const AuthenticationProvider = (props: AuthenticationProviderProps) => {
(config) => {
if (apiKey !== null) {
config.headers.Authorization = `Bearer ${apiKey}`;
config.headers["Access-Control-Allow-Origin"] = "*";
}
return config;
},
Expand Down

0 comments on commit 25bfb1b

Please sign in to comment.