Fix few warnings and console logs

This commit is contained in:
Francisco Gaona
2026-01-05 10:22:31 +01:00
parent 5f3fcef1ec
commit a4577ddcf3
2 changed files with 17 additions and 30 deletions

View File

@@ -56,9 +56,14 @@ export default defineNuxtConfig({
optimizeDeps: {
include: ['@internationalized/date'],
},
build: {
sourcemap: false, // Disable source maps to avoid warnings
},
server: {
hmr: {
clientPort: 3001,
// Don't specify host - let it auto-detect from window.location
port: 443,
protocol: 'wss',
},
allowedHosts: ['.routebox.co', 'localhost', '127.0.0.1'],
},