This commit is contained in:
klaas 2024-05-23 20:32:30 +00:00
parent abc693de3f
commit 276f886c02
2 changed files with 7 additions and 1 deletions

View File

@ -1 +1,7 @@
DATABASE_URL=postgres://user:psw@localhost:5432/postgres DATABASE_URL=postgres://user:psw@localhost:5432/postgres
SESSIONSECRET=Your Secret
MAILHOST=
MAILUSER=
MAILFROM=
MAILPASS=
PORT=2000

2
app.js
View File

@ -9,7 +9,7 @@ const moment=require('moment')
require('dotenv').config(); require('dotenv').config();
const app = express(); const app = express();
const port = 2001; const port = process.env.PORT;
// Middleware // Middleware
app.use(express.static(path.join(__dirname, 'public'))); app.use(express.static(path.join(__dirname, 'public')));