format(frontend): change line width to 100

This commit is contained in:
sam 2024-09-06 15:01:44 +02:00
parent fa71f3fb23
commit acc54a55bc
Signed by: sam
GPG key ID: B4EF20DDE721CAA1
9 changed files with 43 additions and 84 deletions

View file

@ -31,10 +31,7 @@ if (viteDevServer) {
app.use(viteDevServer.middlewares);
} else {
// Vite fingerprints its assets so we can cache forever.
app.use(
"/assets",
express.static("build/client/assets", { immutable: true, maxAge: "1y" }),
);
app.use("/assets", express.static("build/client/assets", { immutable: true, maxAge: "1y" }));
}
// Everything else (like favicon.ico) is cached for an hour. You may want to be
@ -47,6 +44,4 @@ app.use(morgan("tiny"));
app.all("*", remixHandler);
const port = env.PORT || 3000;
app.listen(port, () =>
console.log(`Express server listening at http://localhost:${port}`),
);
app.listen(port, () => console.log(`Express server listening at http://localhost:${port}`));