Fix nuxt config for HRM
This commit is contained in:
@@ -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'],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user