Skip to content

Commit

Permalink
for problem searching
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmy0006 committed Mar 30, 2024
1 parent b7d66f1 commit 84f0fcc
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,9 @@ public CorsConfigurationSource corsConfigurationSource() {
"*"
));
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 84f0fcc

Please sign in to comment.