From 8dae8b0996a61610e68bfeeb700905bc0f4eff80 Mon Sep 17 00:00:00 2001 From: Malaber Date: Sun, 7 Apr 2024 15:29:28 +0200 Subject: [PATCH] Switch dev server to 3001 --- README.md | 2 +- server.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 15292d3..48d6f6b 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ $ TURNIERE_API_URL=https://api.example.com yarn run dev ``` The environment variable `TURNIERE_API_URL` must contain an valid url to a [turniere backend server](https://github.com/turniere/turniere-backend). -In production environment the server runs on port 80, otherwise on port 3000. +In production environment the server runs on port 80, otherwise on port 3001. ## Production Setup: Build the Docker Container diff --git a/server.js b/server.js index d17d936..659b928 100644 --- a/server.js +++ b/server.js @@ -43,7 +43,7 @@ app.prepare() return handle(req, res); }); - server.listen(dev ? 3000 : 80, err => { + server.listen(dev ? 3001 : 80, err => { if (err) throw err; }); })