Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

How can I figure out node.acs server is running locally or not?

$
0
0

I want to user different acs_key.
If node.acs server is running locally, use development key.
If node.acs server is running on deploy env, use production key.

I try to figure out using app.get('env'). But it alway return 'development'.

How can I do?


Viewing all articles
Browse latest Browse all 8068

Trending Articles