fix cors?
All checks were successful
Deploy API / deploy (ubuntu-latest, 2.44.0) (push) Successful in 40s

This commit is contained in:
Braydon 2024-09-18 23:42:32 -04:00
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