mirror of
https://github.com/alangrainger/immich-public-proxy.git
synced 2024-12-28 20:01:57 +00:00
Make port configurable via IPP_PORT
This commit is contained in:
parent
d1475538c5
commit
89f468418c
1 changed files with 3 additions and 2 deletions
|
@ -146,6 +146,7 @@ app.get('*', (req, res) => {
|
||||||
})
|
})
|
||||||
|
|
||||||
// Start the ExpressJS server
|
// Start the ExpressJS server
|
||||||
app.listen(3000, () => {
|
const port = process.env.IPP_PORT || 3000;
|
||||||
console.log(dayjs().format() + ' Server started')
|
app.listen(port, () => {
|
||||||
|
console.log(dayjs().format() + ' Server started on port ' + port)
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue