Set up ENV or something to handlethe API endpoint, this should be compatible with local-dev and production.
Set up ENV or something to handlethe API endpoint, this should be compatible with local-dev and production.