From 1bad77478f1257affe7362c92c843da014fd2bd0 Mon Sep 17 00:00:00 2001 From: Jack Waller Date: Tue, 25 Jun 2024 13:14:29 +1000 Subject: [PATCH] chore: add a cached endpoint for polling --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 1bf41a2..badf414 100644 --- a/src/index.ts +++ b/src/index.ts @@ -793,7 +793,7 @@ const main = async (): Promise => { } }); - app.get('/batchL2', async (req, res, next) => { + app.get(['/batchL2', '/batchL2Cache'], async (req, res, next) => { try { const { marketName,