fix cors?
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
a657cb1e12
commit
dc81c85f53
@ -17,7 +17,7 @@ public class AppConfig {
|
||||
@Override
|
||||
public void addCorsMappings(@NonNull CorsRegistry registry) {
|
||||
// Allow all origins to access the API
|
||||
registry.addMapping("/v*/**")
|
||||
registry.addMapping("*")
|
||||
.allowedOrigins("*") // Allow all origins
|
||||
.allowedMethods("*") // Allow all methods
|
||||
.allowedHeaders("*"); // Allow all headers
|
||||
|
Loading…
Reference in New Issue
Block a user