Browse Source

修改跨域地址配置

xiaoxue 4 years ago
parent
commit
58649230c5
1 changed files with 1 additions and 1 deletions
  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文档