Explorar o código

修改跨域地址配置

xiaoxue %!s(int64=4) %!d(string=hai) anos
pai
achega
58649230c5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Admin.Core/configs/appconfig.json

+ 1 - 1
Admin.Core/configs/appconfig.json

@@ -2,7 +2,7 @@
   //Api地址
   "urls": [ "http://*:8000" ],
   //跨域地址
-  "corUrls": [ "http://*:9000" ],
+  "corUrls": [ "http://localhost:9000", "http://127.0.0.1:9000" ],
   //租户类型:None无租户, Share共享数据库, Own独立数据库
   "tenantType": "None",
   //Swagger文档