mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-10 04:19:32 +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"
|
typeof process !== "undefined"
|
||||||
? process.env
|
? process.env
|
||||||
: typeof import.meta !== "undefined"
|
: typeof import.meta !== "undefined"
|
||||||
? import.meta.env
|
? //@ts-ignore
|
||||||
|
import.meta.env
|
||||||
: {};
|
: {};
|
||||||
const fromEnv =
|
const fromEnv =
|
||||||
env.BETTER_AUTH_URL ||
|
env.BETTER_AUTH_URL ||
|
||||||
|
|||||||
Reference in New Issue
Block a user