fix(api): add http://tauri.localhost to CORS allowed origins

This commit is contained in:
MythEclipse
2026-06-15 17:09:40 +07:00
parent 41e0501e6b
commit 22307d44de
8 changed files with 1927 additions and 0 deletions
+1
View File
@@ -11,6 +11,7 @@ const webAppUrl = Bun.env.WEB_APP_URL ?? 'http://localhost:5173';
const allowedOrigins = [
webAppUrl,
'https://tauri.localhost',
'http://tauri.localhost',
'tauri://localhost',
'http://localhost:5173',
];