From 25a93749d4e458bc0404842b857f1921b3628549 Mon Sep 17 00:00:00 2001 From: niyyzf Date: Sun, 30 Jun 2024 12:02:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=BAhttps?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LoongPanel-Asp/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LoongPanel-Asp/Program.cs b/LoongPanel-Asp/Program.cs index b05a5f7..15d0885 100755 --- a/LoongPanel-Asp/Program.cs +++ b/LoongPanel-Asp/Program.cs @@ -81,7 +81,7 @@ builder.Services.AddCors(options => { //允许全部 policy.WithOrigins("http://localhost:3001", "http://192.168.0.13:3001", "https://192.168.0.13:3001", - "https://192.168.0.13:3000","http://loongpanel.xn--7p0a.site").AllowAnyHeader().AllowAnyMethod().AllowCredentials(); + "https://192.168.0.13:3000","https://loongpanel.xn--7p0a.site").AllowAnyHeader().AllowAnyMethod().AllowCredentials(); }); });