Fix vite.config
Some checks failed
On Push Deploy / deploy (push) Has been cancelled

This commit is contained in:
Johnny322
2026-02-08 15:11:26 +01:00
parent abc31f4313
commit c4046c9d18

View File

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