Fixed CORS mapping
This commit is contained in:
parent
5206a0e4e9
commit
0285832bed
@ -273,7 +273,7 @@ updates:
|
|||||||
spring.mvc.cors:
|
spring.mvc.cors:
|
||||||
mappings:
|
mappings:
|
||||||
# Intercept path
|
# Intercept path
|
||||||
"/api/auth/**":
|
"[/api/auth/**]":
|
||||||
#Comma-separated list of origins to allow. '*' allows all origins. When not set,CORS support is disabled.
|
#Comma-separated list of origins to allow. '*' allows all origins. When not set,CORS support is disabled.
|
||||||
allowed-origins: "*"
|
allowed-origins: "*"
|
||||||
#Comma-separated list of methods to allow. '*' allows all methods.
|
#Comma-separated list of methods to allow. '*' allows all methods.
|
||||||
@ -284,7 +284,7 @@ spring.mvc.cors:
|
|||||||
max-age: "1800"
|
max-age: "1800"
|
||||||
#Set whether credentials are supported. When not set, credentials are not supported.
|
#Set whether credentials are supported. When not set, credentials are not supported.
|
||||||
allow-credentials: "true"
|
allow-credentials: "true"
|
||||||
"/api/v1/**":
|
"[/api/v1/**]":
|
||||||
allowed-origins: "*"
|
allowed-origins: "*"
|
||||||
allowed-methods: "*"
|
allowed-methods: "*"
|
||||||
allowed-headers: "*"
|
allowed-headers: "*"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user