Skip to content

Commit 656965a

Browse files
chore: add note about production url
1 parent 7c64a9b commit 656965a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

apps/expo/src/utils/api.tsx

+3
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ const getBaseUrl = () => {
2222
* Gets the IP address of your host-machine. If it cannot automatically find it,
2323
* you'll have to manually set it. NOTE: Port 3000 should work for most but confirm
2424
* 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.
2528
*/
2629
const localhost = Constants.manifest?.debuggerHost?.split(":")[0];
2730
if (!localhost) {

0 commit comments

Comments
 (0)