Auth, connect and room join with greeting.
This commit is contained in:
17
config/default.js
Normal file
17
config/default.js
Normal file
@@ -0,0 +1,17 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
user: {
|
||||
id: 'clive',
|
||||
key: 'abcdefgh12345678',
|
||||
username: 'Clive',
|
||||
// optional
|
||||
gender: 'male',
|
||||
birthdate: new Date(1952, 11, 10),
|
||||
avatar: 'https://i.imgur.com/IZwrjjG.png',
|
||||
},
|
||||
socket: 'ws://127.0.0.1:3000/socket',
|
||||
api: 'http://127.0.0.1:3000/api',
|
||||
encrypt: false,
|
||||
channels: ['GamesNight'],
|
||||
};
|
||||
Reference in New Issue
Block a user