allow all

This commit is contained in:
root
2025-09-13 22:23:29 +05:00
parent f1ea3782da
commit 9fdba106aa
2 changed files with 2 additions and 2 deletions
@@ -24,7 +24,7 @@ import org.springframework.beans.factory.annotation.Value;
public class SecurityConfig {
private final JwtAuthenticationFilter jwtAuthenticationFilter;
@Value("${app.cors.allowed-origin:http://localhost:5173}")
@Value("${app.cors.allowed-origin:*}")
private String allowedOrigin;
public SecurityConfig(JwtAuthenticationFilter jwtAuthenticationFilter) {
+1 -1
View File
@@ -19,4 +19,4 @@ spring:
app:
cors:
allowed-origin: ${CORS_ALLOWED_ORIGIN:http://localhost:5173}
allowed-origin: ${CORS_ALLOWED_ORIGIN:*}