Get current environment name

前端 未结 4 1616
野性不改
野性不改 2020-12-28 15:49

In Phoenix Framework, how can I get the current environment\'s name ?

I\'ve already tried reading env variables with System.get_env(\"MIX_ENV\")

4条回答
提交回复
热议问题