aboutsummaryrefslogtreecommitdiff
path: root/src/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.ts')
-rw-r--r--src/index.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/index.ts b/src/index.ts
index aa2f617..a488538 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -21,7 +21,9 @@ const ENV_CONFIG: EnvConfig = {
token: process.env.TOKEN ?? "",
uploadLimit: Number(process.env.UPLOAD_LIMIT ?? 4194304),
publicDir: path.join(__dirname, "..", "public"),
- hostDir: configOrError("HOST_DIR")
+ hostDir: configOrError("HOST_DIR"),
+ stage1: Number(process.env.STAGE_1 ?? 95),
+ stage2: Number(process.env.STAGE_2 ?? 80)
};
const logger = winston.createLogger(loggerConfig("ROOT"));