Update local development API base URL to use 'localhost'; change server port to 80 for consistency

This commit is contained in:
bobbert committed 2026-04-06 15:18:59 +01:00
1 parent 51ed0bc8b6
commit d9fc161d26
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -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';
};