chore: format
This commit is contained in:
parent
f1de8475fe
commit
16448b8bdd
1 changed files with 4 additions and 4 deletions
|
|
@ -27,10 +27,10 @@ RegisterRoutes(router);
|
|||
app.use(swaggerSpecs.basePath, router);
|
||||
app.use(errorHandler);
|
||||
|
||||
app.use(express.static('static'))
|
||||
app.get('*',(req,res)=>{
|
||||
res.sendFile(`${process.cwd()}/static/index.html`)
|
||||
})
|
||||
app.use(express.static("static"));
|
||||
app.get("*", (_req, res) => {
|
||||
res.sendFile(`${process.cwd()}/static/index.html`);
|
||||
});
|
||||
|
||||
app.listen(PORT, "0.0.0.0", () =>
|
||||
console.log(`[APP] Application is running on http://localhost:${PORT}`),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue