Remove dynamic base URL handling; set API base URL to production server

This commit is contained in:
bobbert committed 2026-04-06 15:24:36 +01:00
1 parent d9fc161d26
commit 7b4d62d80c
1 file changed
+1 -9
+1 -9
View File
@@ -1,12 +1,4 @@
import Constants from 'expo-constants';
const getBaseUrl = () => {
const host = Constants.expoGoConfig?.debuggerHost;
if (host) return 'http://localhost:3000';
return 'http://api.bobby.ip-ddns.com';
};
export const API_BASE_URL = getBaseUrl();
export const API_BASE_URL = 'http://api.bobby.ip-ddns.com';
const API = {};
API.get = (endpoint) => callFetch(endpoint, 'GET');