Implement authentication composable with signin, signup, and session management; add route middleware for auth checks

This commit is contained in:
lucast committed 2025-12-05 02:47:41 +01:00
1 parent e1716c3e61
commit 170d24c117
3 files changed
+64

No files matched your search

+2
View File
@@ -8,6 +8,8 @@ export const cfetch = async (
): Promise<AxiosResponse> => {
const baseUrl = import.meta.env.VITE_PUBLIC_BACKEND
if (!baseUrl) throw new Error("BACKEND URL not set")
const defaults: AxiosRequestConfig = {
baseURL: baseUrl,
}