Skip to content

Commit

Permalink
chore: add note about production url
Browse files Browse the repository at this point in the history
  • Loading branch information
juliusmarminge committed Mar 20, 2023
1 parent 7c64a9b commit 656965a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/expo/src/utils/api.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ const getBaseUrl = () => {
* Gets the IP address of your host-machine. If it cannot automatically find it,
* you'll have to manually set it. NOTE: Port 3000 should work for most but confirm
* you don't have anything else running on it, or you'd have to change it.
*
* **NOTE**: This is only for development. In production, you'll want to set the
* baseUrl to your production API URL.
*/
const localhost = Constants.manifest?.debuggerHost?.split(":")[0];
if (!localhost) {
Expand Down

0 comments on commit 656965a

Please sign in to comment.