Pārlūkot izejas kodu

The ip looks like no effect in webconfig, but it is changed anyway

master
[email protected] pirms 2 mēnešiem
vecāks
revīzija
4d63297768
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      src/main/java/com/ffii/lioner/config/WebConfig.java

+ 1
- 1
src/main/java/com/ffii/lioner/config/WebConfig.java Parādīt failu

@@ -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
)


Notiek ielāde…
Atcelt
Saglabāt