Switch dev server to 3001

This commit is contained in:
Daniel Schädler 2024-04-07 15:29:28 +02:00
parent 95f77864ad
commit 8dae8b0996
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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;
});
})