This commit is contained in:
Michael Freno
2025-12-19 17:46:57 -05:00
parent a1e287774a
commit 1b31c83287
3 changed files with 17 additions and 4 deletions

View File

@@ -5,8 +5,7 @@ const getBaseUrl = () => {
// Browser: use relative URL
if (typeof window !== "undefined") return "";
//const domain = import.meta.env.VITE_DOMAIN;
const domain = "https://freno.dev"; // try to hardcode it for now
const domain = import.meta.env.VITE_DOMAIN;
if (domain) return domain;
return `http://localhost:${process.env.PORT ?? 3000}`;