We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c64a9b commit 656965aCopy full SHA for 656965a
apps/expo/src/utils/api.tsx
@@ -22,6 +22,9 @@ const getBaseUrl = () => {
22
* Gets the IP address of your host-machine. If it cannot automatically find it,
23
* you'll have to manually set it. NOTE: Port 3000 should work for most but confirm
24
* you don't have anything else running on it, or you'd have to change it.
25
+ *
26
+ * **NOTE**: This is only for development. In production, you'll want to set the
27
+ * baseUrl to your production API URL.
28
*/
29
const localhost = Constants.manifest?.debuggerHost?.split(":")[0];
30
if (!localhost) {
0 commit comments