Skip to content

Commit 2c2e540

Browse files
authored
Merge pull request #12 from blaybus-hackathon/feat/admin-caregiver-pages
Feat/admin caregiver pages
2 parents 2f09842 + a6a2dfe commit 2c2e540

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

vite.config.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { defineConfig } from "vite";
22
import react from "@vitejs/plugin-react";
33
import tailwindcss from "@tailwindcss/vite";
4-
import path from "path"
4+
import path from "path";
55

66
// https://vite.dev/config/
77
export default defineConfig({
@@ -12,4 +12,13 @@ export default defineConfig({
1212
"shadcn/ui": path.resolve(__dirname, "src/components/ui"),
1313
},
1414
},
15+
server: {
16+
proxy: {
17+
"/api": {
18+
target: "http://3.37.158.7/8080",
19+
changeOrigin: true,
20+
secure: false,
21+
},
22+
},
23+
},
1524
});

0 commit comments

Comments
 (0)