diff options
-rw-r--r-- | index.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -110,5 +110,5 @@ const responseHeadersToRemove = ["Accept-Ranges", "Content-Length", "Keep-Alive" ctx.body = "Please specify the URL in the 'url' query string."; } }); - app.listen(3000); + app.listen(process.env.PORT || 3000); })(); |