From 416462df76a47acda27a10615a2ab22fe1945190 Mon Sep 17 00:00:00 2001 From: Max Koon <22125083+k2on@users.noreply.github.com> Date: Mon, 20 Oct 2025 10:27:57 -0400 Subject: [PATCH] fix: production api url --- lib/auth-client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/auth-client.ts b/lib/auth-client.ts index 620ae5e..3cdc833 100644 --- a/lib/auth-client.ts +++ b/lib/auth-client.ts @@ -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",