Fixed CORS error.

This commit is contained in:
Andrew Lalis 2023-01-31 11:57:55 +01:00
parent c58e29cbd8
commit 67bc04b0fc
1 changed files with 2 additions and 2 deletions

View File

@ -49,8 +49,8 @@ public class SecurityConfig {
).permitAll()
.requestMatchers(// Allow the following POST endpoints to be public.
HttpMethod.POST,
"/gyms/submissions",
"/gyms/submissions/upload",
"/gyms/*/submissions",
"/gyms/*/submissions/upload",
"/auth/token",
"/auth/register",
"/auth/activate"