feat(base): 更新 CORS 配置以允许 tauri.localhost

- 在 MiddlewareCORS 函数中添加 "tauri.localhost" 到允许的域名列表
- 这个更改支持 Tauri 应用在本地开发时的跨域请求
This commit is contained in:
2025-07-28 01:07:33 +08:00
parent 1813155f8e
commit 995891ca7b
2 changed files with 2 additions and 1 deletions

1
.vscode/launch.json vendored
View File

@@ -4,6 +4,7 @@
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Launch login-http",