Fix nuxt config for HRM

This commit is contained in:
Francisco Gaona
2026-01-05 10:25:44 +01:00
parent a4577ddcf3
commit 51c82d3d95

View File

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