修改为https

This commit is contained in:
niyyzf 2024-06-30 12:02:35 +08:00
parent 4d41586fde
commit 99d5310850
2 changed files with 2 additions and 2 deletions

View File

@ -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", 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();
}); });
}); });

View File

@ -1 +1 @@
NUXT_API_URL="http://backend.xn--7p0a.site" NUXT_API_URL="https://backend.xn--7p0a.site"