静态挂载-图片

parent 6c73d117
...@@ -26,6 +26,7 @@ export class httpServer { ...@@ -26,6 +26,7 @@ export class httpServer {
httpServer.use(express.static('public')); httpServer.use(express.static('public'));
httpServer.use(express.static('img')); httpServer.use(express.static('img'));
httpServer.use(express.static('files'));
httpServer.use(compression()); httpServer.use(compression());
httpServer.use(watch); httpServer.use(watch);
httpServer.use(bodyParser.json({ limit: "500kb" })); httpServer.use(bodyParser.json({ limit: "500kb" }));
......
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