feat: login & check user

This commit is contained in:
naiba
2024-11-03 23:29:32 +08:00
parent 772d66334e
commit b1a0b607da
10 changed files with 157 additions and 11 deletions

View File

@@ -5,6 +5,14 @@ import { defineConfig } from "vite"
export default defineConfig({
base: '/dashboard',
plugins: [react()],
server: {
proxy: {
'/api': {
target: 'http://localhost:8008',
changeOrigin: true,
},
},
},
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),