From 51c82d3d9545a4d17e760c4e9d670df9c35b5ad5 Mon Sep 17 00:00:00 2001 From: Francisco Gaona Date: Mon, 5 Jan 2026 10:25:44 +0100 Subject: [PATCH] Fix nuxt config for HRM --- frontend/nuxt.config.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/frontend/nuxt.config.ts b/frontend/nuxt.config.ts index ad4c6f9..23bb41d 100644 --- a/frontend/nuxt.config.ts +++ b/frontend/nuxt.config.ts @@ -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'], },