mirror of
https://github.com/mudabbir-ahmad/MAD-Treasure-Hunt.git
synced 2026-10-08 03:00:20 +00:00
Update API base URL for external access; enable cleartext traffic in app configuration and add eas.json for build settings
This commit is contained in:
1 parent
d34bb650f4
commit
c4c8fcf91d
3 files changed
+30
-5
No files matched your search
@@ -1,5 +1,5 @@
|
||||
//export const API_BASE_URL = 'http://api.bobby.ip-ddns.com'; //For outside Home network
|
||||
export const API_BASE_URL = 'http://192.168.8.100:3000'; //For when im home (API Endpoint is on my home server...)
|
||||
export const API_BASE_URL = 'http://api.bobby.ip-ddns.com'; //For outside Home network
|
||||
//export const API_BASE_URL = 'http://192.168.8.100:3000'; //For when im home (API Endpoint is on my home server...)
|
||||
const API = {};
|
||||
|
||||
API.get = (endpoint) => callFetch(endpoint, 'GET');
|
||||
|
||||
Reference in new issue
Block a user