Fixed CORS error.
This commit is contained in:
parent
c58e29cbd8
commit
67bc04b0fc
|
@ -49,8 +49,8 @@ public class SecurityConfig {
|
||||||
).permitAll()
|
).permitAll()
|
||||||
.requestMatchers(// Allow the following POST endpoints to be public.
|
.requestMatchers(// Allow the following POST endpoints to be public.
|
||||||
HttpMethod.POST,
|
HttpMethod.POST,
|
||||||
"/gyms/submissions",
|
"/gyms/*/submissions",
|
||||||
"/gyms/submissions/upload",
|
"/gyms/*/submissions/upload",
|
||||||
"/auth/token",
|
"/auth/token",
|
||||||
"/auth/register",
|
"/auth/register",
|
||||||
"/auth/activate"
|
"/auth/activate"
|
||||||
|
|
Loading…
Reference in New Issue