Skip to content

Commit ee536e2

Browse files
committed
remove api proxy from vite config
1 parent ea68510 commit ee536e2

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

vite.config.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,6 @@ import tailwindcss from "@tailwindcss/vite";
66
// https://vitejs.dev/config/
77
export default defineConfig({
88
plugins: [react(), tailwindcss()],
9-
server: {
10-
proxy: {
11-
"/api": {
12-
target: "http://localhost:8000",
13-
changeOrigin: true,
14-
secure: false,
15-
},
16-
},
17-
},
189
resolve: {
1910
alias: {
2011
"@": path.resolve(__dirname, "./src"),

0 commit comments

Comments
 (0)