From 92434d41a4a9eabf0e0d49b789f2caccbf856513 Mon Sep 17 00:00:00 2001 From: Mononaut Date: Tue, 9 Jul 2024 06:27:26 +0000 Subject: [PATCH] [ops] disable services api proxy on production --- backend/src/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/backend/src/index.ts b/backend/src/index.ts index 38bb07383..2a1afc712 100644 --- a/backend/src/index.ts +++ b/backend/src/index.ts @@ -333,7 +333,9 @@ class Server { if (config.MEMPOOL_SERVICES.ACCELERATIONS) { accelerationRoutes.initRoutes(this.app); } - aboutRoutes.initRoutes(this.app); + if (!config.MEMPOOL.OFFICIAL) { + aboutRoutes.initRoutes(this.app); + } } healthCheck(): void {