Initial commit: site monorepo with API, web, and infra.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
влад
2026-07-16 10:11:54 +03:00
co-authored by Cursor
commit 016910ffb7
447 changed files with 73972 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
export function getApiBaseUrl(): string {
if (import.meta.env.VITE_USE_API_PROXY === "false") {
return import.meta.env.VITE_API_URL ?? "http://localhost:8000";
}
if (import.meta.env.DEV || import.meta.env.VITE_USE_API_PROXY === "true") {
return "";
}
return import.meta.env.VITE_API_URL ?? "http://localhost:8000";
}