1
0
Fork 0
mirror of https://github.com/alangrainger/immich-public-proxy.git synced 2024-12-28 03:41:58 +00:00

Merge pull request #35 from Jaculabilis/ipp-port

Make port configurable via IPP_PORT
This commit is contained in:
Alan Grainger 2024-12-03 09:10:44 +13:00 committed by GitHub
commit fb1548a588
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -146,6 +146,7 @@ app.get('*', (req, res) => {
})
// Start the ExpressJS server
app.listen(3000, () => {
console.log(dayjs().format() + ' Server started')
const port = process.env.IPP_PORT || 3000;
app.listen(port, () => {
console.log(dayjs().format() + ' Server started on port ' + port)
})