mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-09 20:27:44 +00:00
fix: ignore import.meta type errors
This commit is contained in:
@@ -34,7 +34,8 @@ export function getBaseURL(url?: string, path?: string) {
|
||||
typeof process !== "undefined"
|
||||
? process.env
|
||||
: typeof import.meta !== "undefined"
|
||||
? import.meta.env
|
||||
? //@ts-ignore
|
||||
import.meta.env
|
||||
: {};
|
||||
const fromEnv =
|
||||
env.BETTER_AUTH_URL ||
|
||||
|
||||
Reference in New Issue
Block a user