aboutsummaryrefslogtreecommitdiff
path: root/src/api/utils/Util.js
diff options
context:
space:
mode:
authorPitu <[email protected]>2021-06-18 01:45:10 +0900
committerPitu <[email protected]>2021-06-18 01:45:10 +0900
commitf42c75c7f4b43161386d40b070e5c7b9b9073213 (patch)
tree78e2b152402ec2911067b993e0db366df3486c38 /src/api/utils/Util.js
parentchore: change save msg (diff)
downloadhost.fuwn.me-f42c75c7f4b43161386d40b070e5c7b9b9073213.tar.xz
host.fuwn.me-f42c75c7f4b43161386d40b070e5c7b9b9073213.zip
feat: add domain to setup process
Diffstat (limited to 'src/api/utils/Util.js')
-rw-r--r--src/api/utils/Util.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/api/utils/Util.js b/src/api/utils/Util.js
index bd23fd2..bea960a 100644
--- a/src/api/utils/Util.js
+++ b/src/api/utils/Util.js
@@ -39,6 +39,7 @@ class Util {
static getEnvironmentDefaults() {
return {
+ domain: process.env.DOMAIN,
routePrefix: process.env.ROUTE_PREFIX || '/api',
rateLimitWindow: process.env.RATE_LIMIT_WINDOW || 2,
rateLimitMax: process.env.RATE_LIMIT_MAX || 5,