Files
music-jeopardy/vite.config.ts
Johnny322 06514e7bd4
Some checks failed
On Push Deploy / deploy (push) Has been cancelled
Add more context to vite-conmfig
2026-02-08 13:02:56 +01:00

16 lines
354 B
TypeScript

import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
export default defineConfig({
plugins: [vue()],
assetsInclude: ['**/*.mp3'],
server: {
host: '0.0.0.0', // crucial! allows container/network access
port: 5173,
hmr: {
host: 'jeopardy.toppit.net', // your public hostname
protocol: 'ws',
}
}
})