Explorar el Código

修改跨域地址配置

xiaoxue hace 4 años
padre
commit
58649230c5
Se han modificado 1 ficheros con 1 adiciones y 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文档