summaryrefslogtreecommitdiff
path: root/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'index.js')
-rw-r--r--index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.js b/index.js
index 98dd889..f769296 100644
--- a/index.js
+++ b/index.js
@@ -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);
})();