瀏覽代碼

fix: 后端控制台方式无法调试的问题

许俊杰 3 年之前
父節點
當前提交
6a568d7cba

+ 2 - 1
Admin.NET/Admin.NET.Application/Configuration/App.json

@@ -1,7 +1,8 @@
 {
     "$schema": "https://gitee.com/dotnetchina/Furion/raw/net6/schemas/v3/furion-schema.json",
 
-    "Urls": "http://*:5050", // 配置默认端口
+    "Urls": "https://*:44326;http://*:44325", // 配置默认端口
+    "https_port": 44326, // 指定 https 端口
 
     "AllowedHosts": "*",
 

+ 1 - 1
Admin.NET/Admin.NET.Web.Entry/Properties/launchSettings.json

@@ -23,7 +23,7 @@
             "dotnetRunMessages": true,
             "launchBrowser": true,
             "launchUrl": "",
-            "applicationUrl": "https://localhost:5001;http://localhost:5000",
+            "applicationUrl": "https://localhost:44326;http://localhost:44325",
             "environmentVariables": {
                 "ASPNETCORE_ENVIRONMENT": "Development"
             }