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:
parent
ccc9363cf5
commit
1be2a6ff18
1 changed files with 2 additions and 2 deletions
|
@ -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';
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue