feat: replace IP with tailscale url

This commit is contained in:
Max Koon
2025-10-23 16:19:00 -04:00
parent 92a2057179
commit b428ce172d
12 changed files with 186 additions and 90 deletions

3
shared/src/const.ts Normal file
View File

@@ -0,0 +1,3 @@
export const HOST = process.env.EXPO_PUBLIC_TAILSCALE_MACHINE || "localhost";
export const BASE_URL = `http://${HOST}`;

View File

@@ -2,3 +2,4 @@ export * from "./queries";
export * from "./mutators";
export * from "./zero-schema.gen";
export * from "./zql";
export * from "./const";