Spaces:
Running
Running
Update vite.config.ts
Browse files- vite.config.ts +3 -18
vite.config.ts
CHANGED
|
@@ -1,21 +1,6 @@
|
|
| 1 |
-
|
| 2 |
-
import
|
| 3 |
-
import react from '@vitejs/plugin-react';
|
| 4 |
|
| 5 |
export default defineConfig({
|
| 6 |
plugins: [react()],
|
| 7 |
-
|
| 8 |
-
proxy: {
|
| 9 |
-
'/api': {
|
| 10 |
-
target: 'http://localhost:3001',
|
| 11 |
-
changeOrigin: true,
|
| 12 |
-
secure: false,
|
| 13 |
-
},
|
| 14 |
-
'/openapi': {
|
| 15 |
-
target: 'http://localhost:3001',
|
| 16 |
-
changeOrigin: true,
|
| 17 |
-
secure: false,
|
| 18 |
-
},
|
| 19 |
-
},
|
| 20 |
-
},
|
| 21 |
-
});
|
|
|
|
| 1 |
+
import { defineConfig } from 'vite'
|
| 2 |
+
import react from '@vitejs/plugin-react'
|
|
|
|
| 3 |
|
| 4 |
export default defineConfig({
|
| 5 |
plugins: [react()],
|
| 6 |
+
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|