Skip to content

BeechCMS


BeechCMS / @beechcms/core / agentEnvironment

Function: agentEnvironment() ​

agentEnvironment(env): AgentEnvironment

'production' iff env === 'production'; anything else (unset included) is development, as in the factory CORS rule.

Parameters ​

env ​

string | undefined

Returns ​

AgentEnvironment