9 lines
359 B
Plaintext
9 lines
359 B
Plaintext
# Copy to .env and adjust for your machine.
|
|
#
|
|
# Android emulator: http://10.0.2.2:3001/api (NOT localhost)
|
|
# iOS Simulator: http://localhost:3001/api
|
|
# Physical device: http://YOUR_MAC_LAN_IP:3001/api (backend HOST=0.0.0.0 in backend/.env)
|
|
#
|
|
# The app also rewrites localhost → 10.0.2.2 on Android at runtime.
|
|
API_BASE_URL=http://10.0.2.2:3001/api
|