port env conf

This commit is contained in:
biglyderv 2025-02-26 22:14:12 -05:00
parent 4eddd1a0c7
commit 79bdcac9ef
Signed by: biglyderv
GPG key ID: 0E2EB0B4CD7397B5

View file

@ -2,7 +2,7 @@ import express from "express";
import { doInit } from "./routes/init.js";
const app = express()
const port = 3000;
const port = process.env.PORT || 3000;
app.set('view engine', 'ejs');
app.enable('view cache');