format(frontend): change line width to 100
This commit is contained in:
parent
fa71f3fb23
commit
acc54a55bc
9 changed files with 43 additions and 84 deletions
|
@ -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}`));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue