matrix-mod/vite.config.ts
aarbit 61adf7de16
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Fixes syntax error in vite config
2025-02-13 00:03:42 -06:00

20 lines
407 B
TypeScript

import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react-swc'
// https://vitejs.dev/config/
export default defineConfig({
base: "/",
plugins: [react()],
preview: {
port: 8084,
strictPort: true,
host: '0.0.0.0',
allowedHosts: ['matrix.halfbinary.net']
},
server: {
port: 8084,
strictPort: true,
host: true,
//origin: "http://0.0.0.0:8084",
}
})