fix(startup): use stable internal service addresses (#6721)
This commit is contained in:
1 parent
87cdcf28e0
commit
5324bf12d4
3 files changed
+9
-8
No files matched your search
@@ -43,7 +43,7 @@ async function importCookiesAsync() {
|
||||
|
||||
function getBaseUrl() {
|
||||
if (typeof window !== "undefined") return window.location.origin;
|
||||
return `http://${process.env.HOSTNAME ?? "localhost"}:3000`;
|
||||
return "http://127.0.0.1:3000";
|
||||
}
|
||||
|
||||
export const trpcPath = "/api/trpc";
|
||||
|
||||
Reference in new issue
Block a user