From 99d53108503597faef5c48a59ef358e070794716 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 +- web/.env | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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(); }); }); diff --git a/web/.env b/web/.env index 0414a9e..b3d63b0 100644 --- a/web/.env +++ b/web/.env @@ -1 +1 @@ -NUXT_API_URL="http://backend.xn--7p0a.site" \ No newline at end of file +NUXT_API_URL="https://backend.xn--7p0a.site" \ No newline at end of file