Spaces:
Running
Running
Remove hardcoded VITE_API_URL.
Browse files- frontend/vite.config.js +1 -3
frontend/vite.config.js
CHANGED
@@ -4,8 +4,6 @@ import react from '@vitejs/plugin-react'
|
|
4 |
// https://vite.dev/config/
|
5 |
export default defineConfig({
|
6 |
plugins: [react()],
|
7 |
-
|
8 |
-
'import.meta.env.VITE_API_URL': JSON.stringify('http://localhost:7860')
|
9 |
-
},
|
10 |
// TODO: Add custom config here if needed (e.g., base, envDir, aliases)
|
11 |
})
|
|
|
4 |
// https://vite.dev/config/
|
5 |
export default defineConfig({
|
6 |
plugins: [react()],
|
7 |
+
|
|
|
|
|
8 |
// TODO: Add custom config here if needed (e.g., base, envDir, aliases)
|
9 |
})
|