From c4046c9d187e191b3f9c587289325fb63de66d25 Mon Sep 17 00:00:00 2001 From: Johnny322 Date: Sun, 8 Feb 2026 15:11:26 +0100 Subject: [PATCH] Fix vite.config --- vite.config.ts | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/vite.config.ts b/vite.config.ts index a3506fd..8b8c8d3 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -2,11 +2,21 @@ import { defineConfig } from 'vite' import vue from '@vitejs/plugin-vue' export default defineConfig({ + define: { + __VUE_OPTIONS_API__: true, + __VUE_PROD_DEVTOOLS__: false, + __VUE_PROD_HYDRATION_MISMATCH_DETAILS__: false + }, plugins: [vue()], assetsInclude: ['**/*.mp3'], server: { - host: '0.0.0.0', // crucial! allows container/network access + host: '0.0.0.0', port: 5173, + hmr: { + protocol: 'wss', + host: 'jeopardy.toppit.net', + clientPort: 443 + } }, base: '/' })