[ops] disable services api proxy on production

This commit is contained in:
Mononaut 2024-07-09 06:27:26 +00:00
parent 2c81ebb637
commit 92434d41a4
No known key found for this signature in database
GPG Key ID: A3F058E41374C04E

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 {