limit the endpoints to measure response times for

This commit is contained in:
wphan
2024-08-04 14:25:30 +02:00
parent 579d9bc805
commit 8aa31d03b1
4 changed files with 23 additions and 7 deletions

View File

@@ -90,7 +90,7 @@ app.use(cors({ origin: '*' }));
app.use(compression());
app.set('trust proxy', 1);
app.use(logHttp);
app.use(handleResponseTime);
app.use(handleResponseTime());
// strip off /dlob, if the request comes from exchange history server LB
app.use((req, _res, next) => {