Skip to content

Commit

Permalink
secret from js to json
Browse files Browse the repository at this point in the history
  • Loading branch information
cubedro committed Aug 19, 2015
1 parent 3237db0 commit f4ac506
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ config/nodes.js
*.swp
*.pem
.node-xmlhttprequest-*
ws_secret.js
ws_secret.json
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit f4ac506

Please sign in to comment.