auto-commit for 9fe2f053-e4f2-47f4-8507-9e6dd1f50ca5

This commit is contained in:
emergent-agent-e1
2025-11-08 17:01:16 +00:00
parent 214a2bc036
commit 7dd621dbbb
+2 -1
View File
@@ -52,7 +52,8 @@ export function AuthProvider({ children }: { children: React.ReactNode }) {
const signIn = async (email: string, password: string) => {
try {
const response = await fetch('http://localhost:8001/api/auth/signin', {
const backendUrl = process.env.EXPO_PUBLIC_BACKEND_URL || 'http://localhost:8001';
const response = await fetch(`${backendUrl}/api/auth/signin`, {
method: 'POST',
headers: {
'Content-Type': 'application/json',