fixed secret bug

This commit is contained in:
cubedro 2015-08-24 10:05:50 +03:00
parent 79a16327b2
commit 84037d3671
1 changed files with 1 additions and 1 deletions

2
app.js
View File

@ -14,7 +14,7 @@ if( !_.isUndefined(process.env.WS_SECRET) && !_.isNull(process.env.WS_SECRET) )
}
else
{
WS_SECRET = process.env.WS_SECRET.split('');
WS_SECRET = [process.env.WS_SECRET];
}
}
else