fix: add api.bolbol.tn to CORS allowed origins
This commit is contained in:
parent
84f706bc44
commit
1a859fc5b9
|
|
@ -61,6 +61,8 @@ public class WebSecurityConfig {
|
||||||
CorsConfiguration config = new CorsConfiguration();
|
CorsConfiguration config = new CorsConfiguration();
|
||||||
config.setAllowedOriginPatterns(List.of(
|
config.setAllowedOriginPatterns(List.of(
|
||||||
"https://rayhan-erp.bolbol.tn",
|
"https://rayhan-erp.bolbol.tn",
|
||||||
|
"https://api.bolbol.tn",
|
||||||
|
"https://*.bolbol.tn",
|
||||||
"http://localhost:*",
|
"http://localhost:*",
|
||||||
"http://127.0.0.1:*"
|
"http://127.0.0.1:*"
|
||||||
));
|
));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue