We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11e260d commit f4dbbb9Copy full SHA for f4dbbb9
mobile/api/gen/src/runtime.ts
@@ -13,9 +13,10 @@
13
*/
14
15
import Constants from "expo-constants";
16
+import { IS_DEVELOPMENT_BUILD } from "../../../utils/env.utils";
17
18
export const BASE_PATH = (
- (false
19
+ (IS_DEVELOPMENT_BUILD
20
? `http://${Constants.expoConfig?.hostUri?.split(":").shift()?.concat(":3000")}`
21
: "https://api.offlinery.io") + "/v1"
22
).replace(/\/+$/, "");
0 commit comments