feat(client): magic link sign-in

Signed-off-by: Noa Virellia <noa@requiem.garden>
This commit is contained in:
2025-12-25 01:38:43 +08:00
committed by Asai Neko
parent e4e15b2f6e
commit 606c74c587
12 changed files with 167 additions and 631 deletions

View File

@@ -4,7 +4,7 @@ import { router } from '@/lib/router';
import { getToken, hasToken } from './token';
export const axiosClient = axios.create({
baseURL: '/api/',
baseURL: '/api/v1/',
});
axiosClient.interceptors.request.use((config) => {