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(swaggerSpecs.basePath, router);
|
||||||
app.use(errorHandler);
|
app.use(errorHandler);
|
||||||
|
|
||||||
app.use(express.static('static'))
|
app.use(express.static("static"));
|
||||||
app.get('*',(req,res)=>{
|
app.get("*", (_req, res) => {
|
||||||
res.sendFile(`${process.cwd()}/static/index.html`)
|
res.sendFile(`${process.cwd()}/static/index.html`);
|
||||||
})
|
});
|
||||||
|
|
||||||
app.listen(PORT, "0.0.0.0", () =>
|
app.listen(PORT, "0.0.0.0", () =>
|
||||||
console.log(`[APP] Application is running on http://localhost:${PORT}`),
|
console.log(`[APP] Application is running on http://localhost:${PORT}`),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue