diff options
| author | Pitu <[email protected]> | 2021-06-18 01:45:10 +0900 |
|---|---|---|
| committer | Pitu <[email protected]> | 2021-06-18 01:45:10 +0900 |
| commit | f42c75c7f4b43161386d40b070e5c7b9b9073213 (patch) | |
| tree | 78e2b152402ec2911067b993e0db366df3486c38 /src/api/utils/Util.js | |
| parent | chore: change save msg (diff) | |
| download | host.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.js | 1 |
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, |