Get API base path based on the NODE_ENV