chore: rewrite /login page for OAuth, write createUser for the database
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
// TODO: move to `shared/` and distinguish client and server (fix imports)
|
||||
|
||||
export function prependBaseUrl(route: string) {
|
||||
return import.meta.env.BASE_URL + (route.startsWith('/') ? route.substring(1) : route)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user