feat: admin

This commit is contained in:
archer
2023-06-10 15:23:35 +08:00
parent 7f9899f7f3
commit 7dd8e7bea1
9 changed files with 185 additions and 195 deletions

View File

@@ -1,5 +1,5 @@
import { createAuthProvider, type AuthProvider } from 'tushan';
export const authProvider: AuthProvider = createAuthProvider({
loginUrl: `${import.meta.env.VITE_PUBLIC_SERVER_URL}api/login`
loginUrl: `${import.meta.env.VITE_PUBLIC_SERVER_URL}/api/login`
});