feat: replace IP with tailscale url

This commit is contained in:
Max Koon
2025-10-23 16:19:00 -04:00
parent 92a2057179
commit b428ce172d
12 changed files with 186 additions and 90 deletions

View File

@@ -1,11 +1,12 @@
import { Button, View } from "react-native";
import { authClient } from "@/lib/auth-client";
import { BASE_URL } from "@money/shared";
export default function Auth() {
const onLogin = () => {
authClient.signIn.oauth2({
providerId: "koon-family",
callbackURL: process.env.NODE_ENV == 'production' ? 'https://money.koon.us' : "http://localhost:8081"
callbackURL: process.env.NODE_ENV == 'production' ? 'https://money.koon.us' : `${BASE_URL}:8081`,
});
};