明树Git Lab

Commit 8d16d97e authored by zfp1's avatar zfp1

update

parent d6846709
...@@ -36,7 +36,6 @@ app.all('*', function (req, res, next) { ...@@ -36,7 +36,6 @@ app.all('*', function (req, res, next) {
app.use(compress()); app.use(compress());
app.use(express.json()); app.use(express.json());
app.use(express.urlencoded({ extended: false })); app.use(express.urlencoded({ extended: false }));
app.use(`/${sysConfig.file.storagePath}`, express.static(sysConfig.file.storagePath)); //保证 local:3000 + path
app.use(express.static('public')); app.use(express.static('public'));
app.use(logger('dev')); app.use(logger('dev'));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment