[health api] move into /internal

This commit is contained in:
nymkappa 2024-04-07 20:38:01 +09:00
parent 5922c616df
commit 6d945890f4
No known key found for this signature in database
GPG Key ID: 92358FC85D9645DE

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