mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-04-24 14:57:55 +00:00
auto-commit for 94d1bf18-499a-48fa-8d0b-5f829536f4e6
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user