Use ptero port

This commit is contained in:
Christopher Cookman 2024-08-05 13:57:01 -06:00
parent ba179b7401
commit 5ab79692d1
Signed by: ChrisChrome
GPG key ID: A023A26E42C33A42

View file

@ -87,8 +87,8 @@ app.post('/shorten', (req, res) => { // Shorten URL
});
});
port = process.env.SERVER_PORT || 3000;
app.listen(3000, () => {
app.listen(port, () => {
console.log('Server is running on port 3000');
});