salomonsky commited on
Commit
fadf29a
·
verified ·
1 Parent(s): 62a7ee4

Update vite.config.js

Browse files
Files changed (1) hide show
  1. vite.config.js +4 -1
vite.config.js CHANGED
@@ -3,10 +3,13 @@ import react from '@vitejs/plugin-react'
3
 
4
  export default defineConfig({
5
  plugins: [react()],
 
6
  build: {
7
  outDir: 'dist',
 
8
  },
9
  server: {
10
- port: 3000,
 
11
  }
12
  })
 
3
 
4
  export default defineConfig({
5
  plugins: [react()],
6
+ base: './',
7
  build: {
8
  outDir: 'dist',
9
+ emptyOutDir: true,
10
  },
11
  server: {
12
+ port: 7860,
13
+ host: '0.0.0.0'
14
  }
15
  })