Skip to content

armgit / TREK

Public Imported from GitHub
0

The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.

fix(csp): disable Vite module preload polyfill to prevent inline script violation

jubnle91ee04d934c
diff --git a/client/vite.config.js b/client/vite.config.js
index 453b6e16d..64292ae3a 100644
--- a/client/vite.config.js
+++ b/client/vite.config.js
@@ -90,6 +90,7 @@ export default defineConfig({
],
build: {
sourcemap: false,
+ modulePreload: { polyfill: false },
},
server: {
port: 5173,