website refactor

This commit is contained in:
2026-01-17 02:03:19 +01:00
parent 75ffe0798e
commit 6a49448e0a
18 changed files with 168 additions and 47 deletions

View File

@@ -30,8 +30,10 @@ export function getWebsiteApiBaseUrl(): string {
);
}
const isDocker = process.env.DOCKER === 'true';
const fallback =
process.env.NODE_ENV === 'development'
process.env.NODE_ENV === 'development' && !isDocker
? 'http://localhost:3001'
: 'http://api:3000';