Merge pull request #5296 from mempool/mononaut/disable-services-proxy

[ops] disable node services api proxy on production
This commit is contained in:
wiz
2024-07-09 15:38:38 +09:00
committed by GitHub

View File

@@ -333,8 +333,10 @@ class Server {
if (config.MEMPOOL_SERVICES.ACCELERATIONS) { if (config.MEMPOOL_SERVICES.ACCELERATIONS) {
accelerationRoutes.initRoutes(this.app); accelerationRoutes.initRoutes(this.app);
} }
if (!config.MEMPOOL.OFFICIAL) {
aboutRoutes.initRoutes(this.app); aboutRoutes.initRoutes(this.app);
} }
}
healthCheck(): void { healthCheck(): void {
const now = Date.now(); const now = Date.now();