This commit is contained in:
@@ -2,11 +2,21 @@ import { defineConfig } from 'vite'
|
|||||||
import vue from '@vitejs/plugin-vue'
|
import vue from '@vitejs/plugin-vue'
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
|
define: {
|
||||||
|
__VUE_OPTIONS_API__: true,
|
||||||
|
__VUE_PROD_DEVTOOLS__: false,
|
||||||
|
__VUE_PROD_HYDRATION_MISMATCH_DETAILS__: false
|
||||||
|
},
|
||||||
plugins: [vue()],
|
plugins: [vue()],
|
||||||
assetsInclude: ['**/*.mp3'],
|
assetsInclude: ['**/*.mp3'],
|
||||||
server: {
|
server: {
|
||||||
host: '0.0.0.0', // crucial! allows container/network access
|
host: '0.0.0.0',
|
||||||
port: 5173,
|
port: 5173,
|
||||||
|
hmr: {
|
||||||
|
protocol: 'wss',
|
||||||
|
host: 'jeopardy.toppit.net',
|
||||||
|
clientPort: 443
|
||||||
|
}
|
||||||
},
|
},
|
||||||
base: '/'
|
base: '/'
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user