Skip to content

Commit 013de13

Browse files
committed
added: Admin Routes, authenicated it and it only authorize admin only
1 parent 9c7e4a8 commit 013de13

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

client/vite.config.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ import { tanstackRouter } from "@tanstack/router-plugin/vite";
44
import tailwindcss from "@tailwindcss/vite";
55
// https://vite.dev/config/
66
export default defineConfig({
7+
server: {
8+
proxy: {
9+
"/api": "http://localhost:5000",
10+
},
11+
},
712
plugins: [
813
tailwindcss(),
914
tanstackRouter({

0 commit comments

Comments
 (0)