Fix nuxt config for HRM
This commit is contained in:
@@ -56,14 +56,12 @@ export default defineNuxtConfig({
|
|||||||
optimizeDeps: {
|
optimizeDeps: {
|
||||||
include: ['@internationalized/date'],
|
include: ['@internationalized/date'],
|
||||||
},
|
},
|
||||||
build: {
|
|
||||||
sourcemap: false, // Disable source maps to avoid warnings
|
|
||||||
},
|
|
||||||
server: {
|
server: {
|
||||||
hmr: {
|
hmr: {
|
||||||
// Don't specify host - let it auto-detect from window.location
|
host: 'tenant1.routebox.co',
|
||||||
port: 443,
|
port: 443,
|
||||||
protocol: 'wss',
|
protocol: 'wss',
|
||||||
|
// Don't use _nuxt path - HMR handles its own path
|
||||||
},
|
},
|
||||||
allowedHosts: ['.routebox.co', 'localhost', '127.0.0.1'],
|
allowedHosts: ['.routebox.co', 'localhost', '127.0.0.1'],
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user