Parcourir la source

注释app.json中urls的5005端口导致默认项目前后端端口不一致的问题

caomei sun il y a 3 ans
Parent
commit
6866b63d11
1 fichiers modifiés avec 24 ajouts et 24 suppressions
  1. 24 24
      Admin.NET/Admin.NET.Application/Configuration/App.json

+ 24 - 24
Admin.NET/Admin.NET.Application/Configuration/App.json

@@ -1,29 +1,29 @@
 {
-    "$schema": "https://gitee.com/dotnetchina/Furion/raw/net6/schemas/v3/furion-schema.json",
+  "$schema": "https://gitee.com/dotnetchina/Furion/raw/net6/schemas/v3/furion-schema.json",
 
-    "Urls": "https://*:5005",
+  //"Urls": "https://*:5005",
 
-    "AllowedHosts": "*",
+  "AllowedHosts": "*",
 
-    "AppSettings": {
-        "InjectSpecificationDocument": true // 生产环境是否开启Swagger
-    },
-    "DynamicApiControllerSettings": {
-        "LowercaseRoute": false,
-        "KeepName": true,
-        "AsLowerCamelCase": true // 小驼峰路由路径
-    },
-    "FriendlyExceptionSettings": {
-        "DefaultErrorMessage": "系统异常,请联系管理员",
-        "ThrowBah": true,
-        "LogError": false // 是否输出异常日志,默认true
-    },
-    "LocalizationSettings": {
-        "SupportedCultures": [ "zh-CN", "en-US" ], // 语言列表
-        "DefaultCulture": "zh-CN" // 默认语言
-    },
-    "CorsAccessorSettings": {
-        "WithExposedHeaders": [ "Content-Disposition" ], // 如果前端不代理且是axios请求
-        "SignalRSupport": true // 启用 SignalR 跨域支持
-    }
+  "AppSettings": {
+    "InjectSpecificationDocument": true // 生产环境是否开启Swagger
+  },
+  "DynamicApiControllerSettings": {
+    "LowercaseRoute": false,
+    "KeepName": true,
+    "AsLowerCamelCase": true // 小驼峰路由路径
+  },
+  "FriendlyExceptionSettings": {
+    "DefaultErrorMessage": "系统异常,请联系管理员",
+    "ThrowBah": true,
+    "LogError": false // 是否输出异常日志,默认true
+  },
+  "LocalizationSettings": {
+    "SupportedCultures": [ "zh-CN", "en-US" ], // 语言列表
+    "DefaultCulture": "zh-CN" // 默认语言
+  },
+  "CorsAccessorSettings": {
+    "WithExposedHeaders": [ "Content-Disposition" ], // 如果前端不代理且是axios请求
+    "SignalRSupport": true // 启用 SignalR 跨域支持
+  }
 }