-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Y'all implemented this really well!
coolbeans-front/src/services/coffee.js
Lines 3 to 8 in ef924b0
| let servicePath | |
| if (document.location.hostname === 'localhost') { | |
| servicePath = 'http://localhost:3001' | |
| } else { | |
| servicePath = 'https://cool-beans-api.herokuapp.com' | |
| } |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels