fix: linting errors

master
Avraham Sakal 4 months ago
parent 5ef118e9bc
commit e0c5329ff6

@ -18,13 +18,13 @@ nodeApp.use(compress());
nodeApp.use( nodeApp.use(
"/*", "/*",
serveStatic({ serveStatic({
root: `./dist/client/`, root: "./dist/client/",
}), }),
); );
nodeApp.route("/", app!); nodeApp.route("/", app);
const port = envs.PORT ? parseInt(envs.PORT, 10) : 3000; const port = envs.PORT ? Number.parseInt(envs.PORT, 10) : 3000;
console.log(`Server listening on http://localhost:${port}`); console.log(`Server listening on http://localhost:${port}`);
serve({ serve({

Loading…
Cancel
Save