Skip to content

Commit

Permalink
rollback
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmy0006 committed Mar 30, 2024
1 parent 0fc5847 commit 2cc42a6
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,8 @@ public CorsConfigurationSource corsConfigurationSource() {
"chrome-extension://doeamknhlolnflkmhbhkagganhjjbefe"
));
configuration.setAllowedHeaders(Arrays.asList(
// "Authorization", "Cache-Control",
// "Content-Type", "Accept", "Content-Length", "Accept-Encoding", "X-Requested-With"
"*"
"Authorization", "Cache-Control",
"Content-Type", "Accept", "Content-Length", "Accept-Encoding", "X-Requested-With"
));
configuration.setAllowedMethods(Arrays.asList("GET", "POST", "PUT", "DELETE", "OPTIONS", "HEAD"));
configuration.setMaxAge(3600L);
Expand Down

0 comments on commit 2cc42a6

Please sign in to comment.