From 3c0d389fcd5770cb3723feb15d048134f3860f53 Mon Sep 17 00:00:00 2001 From: owenchen Date: Tue, 13 Oct 2026 10:59:02 +0800 Subject: [PATCH] ow --- .gitignore | 1 + CloudBuilder/CloudBuilder.Web.Entry/appsettings.json | 12 ++++++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index c4d28e9..846d202 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /CloudBuilder.Topshelf/.vs/CloudBuilder.Topshelf /CloudBuilder.Topshelf/bin /CloudBuilder.Topshelf/obj +/uniapp/demo diff --git a/CloudBuilder/CloudBuilder.Web.Entry/appsettings.json b/CloudBuilder/CloudBuilder.Web.Entry/appsettings.json index f2a1630..d796595 100644 --- a/CloudBuilder/CloudBuilder.Web.Entry/appsettings.json +++ b/CloudBuilder/CloudBuilder.Web.Entry/appsettings.json @@ -3,7 +3,7 @@ "LogFileDirectory": "D:\\Net8\\FileServer\\Log", "MaxFileSizeMB": 20 }, - "UrlOrigins": "http://192.168.195.68,http://localhost,http://localhost:8088,http://localhost:5235", //这个参数是反向指向的地址,也是跨域访问的地址,包含Vue内WebSitePolicy设置WebSite + "UrlOrigins": "http://192.168.195.68,http://localhost,http://localhost:8088,http://localhost:5173,http://localhost:5235", //这个参数是反向指向的地址,也是跨域访问的地址,包含Vue内WebSitePolicy设置WebSite "ApplicationUrl": "http://localhost:5235", //這個地址是最外层用户访问的,不是反向指向的地址https://uat.youjiala.com "CloudBuilder": { "Culture": "zh-cn", @@ -33,12 +33,14 @@ "UserName": "osharpsender@66soft.net", "Password": "OSharp147963" }, - "Authorization": { "EnableGlobalAuthorize": false }, //全局授权 + "Authorization": { + "EnableGlobalAuthorize": false + }, //全局授权 "Jwt": { "Issuer": "Owen Chen", "Audience": "Cloud Builder", "Secret": "{8619F7C3-B53C-4B85-99F0-983D351ECD82}", - "AccessExpireMins": 2, //2小时过期 + "AccessExpireMins": 120, //2小时过期 "RefreshExpireMins": 86400, // 60天重刷新过期时间 "IsRefreshAbsoluteExpired": false }, @@ -111,8 +113,6 @@ "Limit": 500 } ] - }, - "AllowedHosts": "*" -} +} \ No newline at end of file