File size: 404 Bytes
4fcd2f4
 
 
 
 
26fcff6
 
 
 
 
 
1787b1d
26fcff6
4fcd2f4
26fcff6
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'

// https://vite.dev/config/
export default defineConfig({
  plugins: [react()],
  preview: {
    host: "0.0.0.0",
    port: process.env.PORT?Number(process.env.PORT):4173,
    strictPort: true,
    allowedHosts: [
      'nova-chatbot-chatbot-frontend.hf.space'
    ]
  },
  server: {
    //hmr:false
    host: "0.0.0.0"
  }
})