chore: format

This commit is contained in:
Methapon2001 2023-11-30 09:40:00 +07:00
parent f1de8475fe
commit 16448b8bdd
No known key found for this signature in database
GPG key ID: 849924FEF46BD132

View file

@ -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}`),