feat: replace IP with tailscale url
This commit is contained in:
3
shared/src/const.ts
Normal file
3
shared/src/const.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
export const HOST = process.env.EXPO_PUBLIC_TAILSCALE_MACHINE || "localhost";
|
||||
export const BASE_URL = `http://${HOST}`;
|
||||
|
||||
@@ -2,3 +2,4 @@ export * from "./queries";
|
||||
export * from "./mutators";
|
||||
export * from "./zero-schema.gen";
|
||||
export * from "./zql";
|
||||
export * from "./const";
|
||||
|
||||
Reference in New Issue
Block a user