gaialive commited on
Commit
5c2bd03
·
verified ·
1 Parent(s): b4f4af4

Upload 4 files

Browse files
Files changed (1) hide show
  1. frontend/vite.config.js +12 -1
frontend/vite.config.js CHANGED
@@ -9,7 +9,18 @@ export default defineConfig({
9
  port: 5173,
10
  proxy: {
11
  '/api': {
12
- target: 'http://backend:3000',
 
 
 
 
 
 
 
 
 
 
 
13
  changeOrigin: true,
14
  secure: false,
15
  }
 
9
  port: 5173,
10
  proxy: {
11
  '/api': {
12
+ target: 'http://localhost:3000',
13
+ changeOrigin: true,
14
+ secure: false,
15
+ }
16
+ }
17
+ },
18
+ preview: {
19
+ host: '0.0.0.0',
20
+ port: 5173,
21
+ proxy: {
22
+ '/api': {
23
+ target: 'http://localhost:3000',
24
  changeOrigin: true,
25
  secure: false,
26
  }