fix: production api url

This commit is contained in:
Max Koon
2025-10-20 10:23:12 -04:00
parent ec2a5e26dd
commit f76eeb6eb0
7 changed files with 430 additions and 62 deletions

View File

@@ -4,7 +4,7 @@ import { expoClient } from "@better-auth/expo/client";
import * as SecureStore from "expo-secure-store";
export const authClient = createAuthClient({
baseURL: "http://localhost:3000",
baseURL: process.env.NODE_ENV == 'production' ? 'https://money-api.koon.us' : "http://localhost:3000",
plugins: [
expoClient({
scheme: "money",