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
commit 8a96669260
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 {