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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user