From fd813c0799d2943600c82114730498f5ae58a706 Mon Sep 17 00:00:00 2001 From: Yomuko Date: Wed, 6 Nov 2024 13:25:48 +0800 Subject: [PATCH] fix: api exception call not throwing error --- api/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/index.js b/api/index.js index bf522ab..b9ae336 100644 --- a/api/index.js +++ b/api/index.js @@ -7,7 +7,7 @@ dotenv.config() class Config { constructor() { - this.PORT = process.env.PORT || '8787' + this.PORT = process.env.PORT || 8787 this.API_PREFIX = process.env.API_PREFIX || '/' this.API_KEY = process.env.API_KEY || '' this.MAX_RETRY_COUNT = process.env.MAX_RETRY_COUNT || 3