瀏覽代碼

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

master
[email protected] 2 月之前
父節點
當前提交
4d63297768
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/main/java/com/ffii/lioner/config/WebConfig.java

+ 1
- 1
src/main/java/com/ffii/lioner/config/WebConfig.java 查看文件

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


Loading…
取消
儲存