mirror of
https://github.com/MCSManager/MCSManager.git
synced 2024-11-21 03:12:10 +08:00
删除 - 弃用 token
This commit is contained in:
parent
76c63a83d0
commit
0e8f33d8ce
6
app.js
6
app.js
@ -86,8 +86,6 @@ MCSERVER.login = {};
|
||||
MCSERVER.onlineUser = {};
|
||||
//全局 在线 Websocket 监视器
|
||||
MCSERVER.allSockets = {};
|
||||
//全局 token 记录器 /
|
||||
MCSERVER.tokens = {};
|
||||
//全局 数据内存记录器
|
||||
MCSERVER.logCenter = {};
|
||||
|
||||
@ -141,10 +139,6 @@ app.use(session({
|
||||
if (MCSERVER.localProperty.is_gzip)
|
||||
app.use(compression());
|
||||
|
||||
//初始化令牌管理器
|
||||
// VarCenter.set('user_token', {});
|
||||
// VarCenter.set('express_app', app);
|
||||
|
||||
//基础根目录
|
||||
app.use('/public', express.static('./public'));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user