mirror of
https://github.com/mudabbir-ahmad/MAD-Treasure-Hunt.git
synced 2026-10-08 03:00:20 +00:00
Update local development API base URL to use 'localhost'; change server port to 80 for consistency
This commit is contained in:
1 parent
51ed0bc8b6
commit
d9fc161d26
2 files changed
+3
-3
No files matched your search
@@ -1,8 +1,8 @@
|
||||
import Constants from 'expo-constants';
|
||||
|
||||
const getBaseUrl = () => {
|
||||
const host = Constants.expoGoConfig?.debuggerHost;
|
||||
if (host) return 'http://192.168.8.100:3000';
|
||||
const host = Constants.expoGoConfig?.debuggerHost;
|
||||
if (host) return 'http://localhost:3000';
|
||||
return 'http://api.bobby.ip-ddns.com';
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user