Added static img folder for directly serving images
This commit is contained in:
@@ -20,5 +20,6 @@ export default async (app: Application) => {
|
||||
res.json(spec);
|
||||
});
|
||||
app.use('/docs', express.static(path.join(__dirname, '../static/docs'), { index: "index.html", extensions: ['html'] }));
|
||||
app.use('/img', express.static(path.join(__dirname, '../static/img')));
|
||||
return app;
|
||||
};
|
||||
|
||||
0
src/static/img/.gitkeep
Normal file
0
src/static/img/.gitkeep
Normal file
Reference in New Issue
Block a user