diff --git a/core/logo.txt b/core/logo.txt index 7cab1a3..5eae6b0 100644 --- a/core/logo.txt +++ b/core/logo.txt @@ -6,5 +6,5 @@ _ / / / / /___ ____/ /_ / / / / /_/ /_ / / / /_/ /_ /_/ // __/ / /_/ /_/ \____/ /____/ /_/ /_/ \__,_/ /_/ /_/\__,_/ _\__, / \___//_/ /____/ + Version 8 - + Copyright 2013-2019 Suwings All rights reserved. + + Copyright 2020 Suwings All rights reserved. ---------------------------------------------------------------------------- diff --git a/onlinefs/app.js b/onlinefs/app.js index 975e695..25005bb 100644 --- a/onlinefs/app.js +++ b/onlinefs/app.js @@ -16,7 +16,7 @@ var UUID = require('uuid'); app.use(session({ secret: UUID.v4(), name: 'IFM_session', - //1小时 + // Cookie 默认时间:一小时 cookie: { maxAge: 1000 * 60 * 60 }, @@ -24,6 +24,7 @@ app.use(session({ saveUninitialized: true, })); +// public 公开目录 app.use('/public', express.static('./public')); app.post('/', function (req, res) { diff --git a/onlinefs/controller/function.js b/onlinefs/controller/function.js index ccc8ed0..9fd1831 100644 --- a/onlinefs/controller/function.js +++ b/onlinefs/controller/function.js @@ -14,6 +14,8 @@ const fs = require("fs"); const os = require('os'); +// 压缩 & 解压任务计数器 暂无用 +let CompressDecompressCounter = 0; router.post('/mkdir', (req, res) => { let name = parseHandle(req.body, "string"); diff --git a/public/login/index.html b/public/login/index.html index 062d8f6..a3bb27b 100644 --- a/public/login/index.html +++ b/public/login/index.html @@ -4,7 +4,7 @@
-使用您的 MCSM 账户