瀏覽代碼

MOD: 修改配置文件,解决http://110.188.24.28:50301跨域

xf 1 年之前
父節點
當前提交
2c808f383b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Hotline.Api/config/appsettings.json

+ 1 - 1
src/Hotline.Api/config/appsettings.json

@@ -29,7 +29,7 @@
   },
   "Swagger": true,
   "Cors": {
-    "Origins": [ "http://localhost:8888", "http://hotline.12345lm.cn", "http://110.188.24.28:50101", "http://110.188.24.28:50102", "http://localhost:8113", "http://bs.hotline.12345lm.cn" ]
+    "Origins": [ "http://localhost:8888", "http://hotline.12345lm.cn", "http://110.188.24.28:50101", "http://110.188.24.28:50102", "http://110.188.24.28:50301", "http://bs.hotline.12345lm.cn" ]
   },
   "IdentityConfiguration": {
     "Password": {