tmnt-fe/vite.config.ts
aarbit d92a678140
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Adds allowedHosts configuration
2025-09-29 23:59:11 -05:00

19 lines
381 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: 8083,
strictPort: true,
allowedHosts: [".halfbinary.net"]
},
server: {
port: 8083,
strictPort: true,
host: true,
//origin: "http://0.0.0.0:8083",
},
})