fix: static file
This commit is contained in:
parent
393f2fa2c5
commit
6c6f45b66a
1 changed files with 1 additions and 0 deletions
|
|
@ -26,6 +26,7 @@ RegisterRoutes(router);
|
|||
app.use(swaggerSpecs.basePath, router);
|
||||
app.use(errorHandler);
|
||||
|
||||
app.use(express.static("static"));
|
||||
app.use((_req, res, _next) => {
|
||||
res.sendFile(`${process.cwd()}/static/index.html`);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue