allow creds?
All checks were successful
Deploy API / deploy (ubuntu-latest, 2.44.0) (push) Successful in 40s
All checks were successful
Deploy API / deploy (ubuntu-latest, 2.44.0) (push) Successful in 40s
This commit is contained in:
parent
02f9afbcde
commit
3bf9002e64
@ -53,7 +53,8 @@ public class PulseAPI {
|
||||
registry.addMapping("/**")
|
||||
.allowedOrigins("https://pulseapp.cc") // Allow all origins
|
||||
.allowedMethods(Arrays.stream(HttpMethod.values()).map(HttpMethod::name).toArray(String[]::new)) // Allow all methods
|
||||
.allowedHeaders("*"); // Allow all headers
|
||||
.allowedHeaders("*")
|
||||
.allowCredentials(true); // Allow all headers
|
||||
}
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user