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