mirror of
https://github.com/SrIzan10/lofi.git
synced 2026-06-06 00:56:53 +00:00
fix: authentication not working
This commit is contained in:
@@ -231,4 +231,4 @@ export const createAuth = (d1: D1Database, baseURL = env.ORIGIN) =>
|
||||
* This instance is used by the `better-auth` CLI for schema generation ONLY.
|
||||
* To access `auth` at runtime, use `event.locals.auth`.
|
||||
*/
|
||||
export const auth = createAuth(null!);
|
||||
export const auth = createAuth(null!, 'http://localhost');
|
||||
|
||||
Reference in New Issue
Block a user