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: '/' })