0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-03-22 08:58:11 +00:00

stable in prod

This commit is contained in:
Víctor Losada Hernández
2026-02-01 21:31:21 +01:00
parent b4ec26a29f
commit 71bc95251c
3 changed files with 10 additions and 25 deletions

View File

@@ -10,7 +10,7 @@ async function start() {
if (!isProd) {
vite = await createViteServer({
server: { middlewareMode: true },
server: { middlewareMode: 'html' },
appType: "custom",
});
@@ -23,7 +23,7 @@ async function start() {
const app = await createApp(vite);
const PORT = process.env.PORT || config.get("web_port") || 8000;
const PORT = process.env.PORT || config.get("web_port") || 3000;
app.listen(PORT, () => {
const reset = "\x1b[0m"; // Reset to default style
const bright = "\x1b[1m"; // Bright (bold) style