Skip to content

Commit cc6f86a

Browse files
committed
add frontend endpoint
1 parent 5cfc3d1 commit cc6f86a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

backend/src/main/java/org/heymouad/focusapp/config/SecurityConfig.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ public CorsConfigurationSource corsConfigurationSource() {
5555
configuration.setAllowedOrigins(List.of(
5656
"http://localhost:3000",
5757
"http://localhost:4173",
58-
"http://localhost:5173"
58+
"http://localhost:5173",
59+
"https://habitflow-gold.vercel.app"
5960
));
6061
configuration.setAllowCredentials(true);
6162
configuration.setAllowedMethods(Arrays.asList("GET", "POST", "PUT", "DELETE", "OPTIONS", "PATCH"));

0 commit comments

Comments
 (0)