Skip to content

Commit 8aebeb4

Browse files
authored
Update allowed origins in CorsConfig
1 parent b44ca22 commit 8aebeb4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/com/fund/stockProject/global/config/CorsConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public class CorsConfig {
1515
public CorsConfigurationSource corsConfigurationSource() {
1616
CorsConfiguration config = new CorsConfiguration();
1717
config.setAllowedOrigins(List.of(
18-
"http://192.168.0.4:5173", "http://localhost:5173", "https://stockvalue13.netlify.app", "https://zingy-quokka-fcfc59.netlify.app", "https://humanzipyo.com", "https://api.humanzipyo.com", "https://humanzipyo.com:5173"
18+
"http://192.168.0.2:5173", "http://localhost:5173", "https://stockvalue13.netlify.app", "https://zingy-quokka-fcfc59.netlify.app", "https://humanzipyo.com", "https://api.humanzipyo.com", "https://humanzipyo.com:5173"
1919
));
2020
config.setAllowedMethods(List.of("GET", "POST", "PUT", "DELETE", "OPTIONS","PATCH"));
2121
config.setAllowedHeaders(List.of("Origin", "Content-Type", "Accept", "Authorization"));

0 commit comments

Comments
 (0)