Initial commit
This commit is contained in:
19
shared.js
Normal file
19
shared.js
Normal file
@@ -0,0 +1,19 @@
|
||||
const { get } = require("express/lib/response");
|
||||
|
||||
module.exports = {
|
||||
token: "",
|
||||
setToken(token) {
|
||||
this.token = token;
|
||||
},
|
||||
getToken() {
|
||||
return this.token;
|
||||
},
|
||||
hosts: [],
|
||||
setHosts(hosts) {
|
||||
this.hosts = hosts;
|
||||
},
|
||||
getHosts() {
|
||||
return this.hosts;
|
||||
},
|
||||
eventEmitter: {},
|
||||
};
|
||||
Reference in New Issue
Block a user