|
|
@@ -19,7 +19,7 @@ public class WebConfig implements WebMvcConfigurer { |
|
|
|
.allowedOrigins( |
|
|
|
"http://localhost", // If you test locally via Nginx at http://localhost |
|
|
|
"http://127.0.0.1", // Sometimes browsers resolve localhost to 127.0.0.1 |
|
|
|
"http://52.175.15.19", // Your 2fi-uat frontend IP |
|
|
|
"http://20.2.170.164", // Look like no use |
|
|
|
"http://localhost:3000" // If you ever run React dev server directly |
|
|
|
// Add any other specific domains/IPs/ports where your frontend will be hosted |
|
|
|
) |
|
|
|