Update files

This commit is contained in:
Mohamed Boudra
2026-02-05 18:00:09 +07:00
parent 9f479dd337
commit cb3cf1c209
7 changed files with 41 additions and 15 deletions
+3
View File
@@ -136,6 +136,9 @@ export async function createPaseoDaemon(
// CORS - allow same-origin + configured origins
const allowedOrigins = new Set([
...config.corsAllowedOrigins,
// Tauri desktop app WebView origin (used for fetch/WebSocket in production builds).
// This origin can't be produced by normal websites, so it's safe to allow by default.
"tauri://localhost",
// For TCP, add localhost variants
...(listenTarget.type === "tcp"
? [