0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-13 22:11:20 -05:00

add default URLs to db package

This commit is contained in:
Fred K. Schott 2024-02-09 13:19:45 -08:00
parent ccc9363cf5
commit 1be2a6ff18

View file

@ -10,10 +10,10 @@ export function getAstroStudioEnv(envMode = ''): Record<`ASTRO_STUDIO_${string}`
export function getRemoteDatabaseUrl(): string {
const env = getAstroStudioEnv();
return env.ASTRO_STUDIO_REMOTE_DB_URL;
return env.ASTRO_STUDIO_REMOTE_DB_URL || 'https://studio-gateway.fly.dev';
}
export function getAstroStudioUrl(): string {
const env = getAstroStudioEnv();
return env.ASTRO_STUDIO_URL;
return env.ASTRO_STUDIO_URL || 'https://stardate.astro.build';
}