summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Hovorka <[email protected]>2024-02-13 23:17:53 -0700
committerAlexis Hovorka <[email protected]>2024-02-13 23:17:53 -0700
commitaddc5e389277b392dbe7fbdb24b5cf4a983493a2 (patch)
treec00524ad769c79125b37b097f05c0aaea205db96
parent8588e9096e5bd2986bd6aa254b706d1331855dbc (diff)
[refactor] Remove extra unused consts in config.js
-rw-r--r--app/config.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/config.js b/app/config.js
index 6a66027..b7212e3 100644
--- a/app/config.js
+++ b/app/config.js
@@ -9,8 +9,6 @@ function deepFreeze(obj) {
}
Math.clamp ||= ((x,l,h) => Math.max(l,Math.min(x,h)));
-const PORT = Math.clamp(+process.env.PORT||8080, 1, 65535);
-const HOST = process.env.HOST||"0.0.0.0";
module.exports = deepFreeze({
PORT: Math.clamp(+process.env.PORT||8080, 1, 65535),