fix: production api url

This commit is contained in:
Max Koon
2025-10-20 10:27:57 -04:00
parent ec2a5e26dd
commit 416462df76

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",