[health api] move into /internal

This commit is contained in:
nymkappa
2024-04-07 20:38:01 +09:00
parent 5922c616df
commit 6d945890f4

View File

@@ -77,7 +77,7 @@ class BitcoinRoutes {
; ;
} }
app.get(config.MEMPOOL.API_URL_PREFIX + 'health', this.generateHealthReport); app.get('/api/internal/health', this.generateHealthReport);
} }
private async generateHealthReport(req: Request, res: Response): Promise<void> { private async generateHealthReport(req: Request, res: Response): Promise<void> {