node env dev login

This commit is contained in:
ntr 2018-11-29 02:20:47 +11:00
parent 75e119fe89
commit 9b4725cf79

View File

@ -29,7 +29,9 @@ function createSocket(events) {
});
events.loginPrompt();
send({ method: 'account_login', params: { name: 'ntr', password: 'grepgrepgrep' } });
if (!process.env.NODE_ENV === 'production') {
send({ method: 'account_login', params: { name: 'ntr', password: 'grepgrepgrep' } });
}
});
// Listen for messages