Spaces:
Running
Running
remove proxy
Browse files- vite.config.ts +0 -10
vite.config.ts
CHANGED
|
@@ -5,14 +5,4 @@ import tailwindcss from "@tailwindcss/vite";
|
|
| 5 |
// https://vite.dev/config/
|
| 6 |
export default defineConfig({
|
| 7 |
plugins: [react(), tailwindcss()],
|
| 8 |
-
server: {
|
| 9 |
-
proxy: {
|
| 10 |
-
"/api/mcp": {
|
| 11 |
-
target: "https://api.shreyas.natoma.dev",
|
| 12 |
-
changeOrigin: true,
|
| 13 |
-
secure: true,
|
| 14 |
-
rewrite: (path) => path.replace(/^\/api\/mcp/, "/mcp"),
|
| 15 |
-
},
|
| 16 |
-
},
|
| 17 |
-
},
|
| 18 |
});
|
|
|
|
| 5 |
// https://vite.dev/config/
|
| 6 |
export default defineConfig({
|
| 7 |
plugins: [react(), tailwindcss()],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
});
|