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