Closed askmike closed 9 years ago
Thanks for posting, @askmike. I'm a repo bot-- nice to meet you!
It has been 30 days since there have been any updates or new comments on this page. If this issue has been resolved, feel free to disregard the rest of this message. On the other hand, if you are still waiting on a patch, please:
Thanks so much for your help!
This hasn't been fixed yet.
Sails supports custom environments and will set
sails.config.environment
accordingly. However this lib will try to determine the environment (eitherdevelopment
orproduction
) based on whether the script src containsmin
orproduction
. We do need the correct env in our frontend code.Our current workaround is a custom API call.