diff --git a/backend/src/main.mjs b/backend/src/main.mjs index 0c92858..6679831 100644 --- a/backend/src/main.mjs +++ b/backend/src/main.mjs @@ -65,7 +65,7 @@ migrate(db, migrations, 1); // server const app = express(); -const port = 8080; +const port = env.process.PORT || 8080; app.use(express.urlencoded({ extended: true })); app.use(compression());