From 724fcff356c368165e9fc555f17071ab4bd5f287 Mon Sep 17 00:00:00 2001 From: Joe Meyer Date: Thu, 27 Jun 2024 15:57:17 -0500 Subject: [PATCH] hardcode port --- .env.template | 3 --- src/main.ts | 5 ++--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.env.template b/.env.template index 9c8d1db..6e4efe5 100644 --- a/.env.template +++ b/.env.template @@ -1,6 +1,3 @@ -# This server's port (defaults to 3000 if not set) -PORT= - # Cors (optional, but defaults to []) CORS_ORIGIN= diff --git a/src/main.ts b/src/main.ts index 1050943..909b0c9 100644 --- a/src/main.ts +++ b/src/main.ts @@ -22,7 +22,6 @@ app.use('/api/models', modelsRouter); app.use('/api/assignments', assignmentsRouter); // Start server -const PORT = process.env.PORT || 3000; -server.listen(PORT, () => { - console.log(`Maestro API server listening on port ${PORT}`); +server.listen(3000, () => { + console.log(`Maestro API server listening on port 3000`); });