fix: add api.bolbol.tn to CORS allowed origins

This commit is contained in:
Nabil Derouiche 2026-04-20 22:20:03 +01:00
parent 84f706bc44
commit 1a859fc5b9
1 changed files with 2 additions and 0 deletions

View File

@ -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:*"
)); ));