auto-commit for 94d1bf18-499a-48fa-8d0b-5f829536f4e6

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