Merge pull request #265 from cubedro/develop

secret from js to json
pull/5/head
Marian OANCΞA 9 years ago
commit 2524a797f8
  1. 2
      .gitignore
  2. 2
      app.js

2
.gitignore vendored

@ -10,4 +10,4 @@ config/nodes.js
*.swp
*.pem
.node-xmlhttprequest-*
ws_secret.js
ws_secret.json

@ -20,7 +20,7 @@ if( !_.isUndefined(process.env.WS_SECRET) && !_.isNull(process.env.WS_SECRET) )
else
{
try {
WS_SECRET = require('./ws_secret.js');
WS_SECRET = require('./ws_secret.json');
}
catch (e)
{

Loading…
Cancel
Save