From 2453b37a6d8fded899673a520331ce851d9ea9d1 Mon Sep 17 00:00:00 2001 From: dangered wolf Date: Fri, 10 Nov 2023 18:49:51 -0500 Subject: [PATCH] Only redirect api to docs from root --- src/realms/api/router.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/realms/api/router.ts b/src/realms/api/router.ts index a4fcc2c..b613b86 100644 --- a/src/realms/api/router.ts +++ b/src/realms/api/router.ts @@ -13,4 +13,4 @@ api.get('/robots.txt', async c => c.text(Strings.ROBOTS_TXT_API)); api.get('/:handle', profileRequest); -api.all('*', async c => c.redirect(Constants.API_DOCS_URL, 302)); \ No newline at end of file +api.get('/', async c => c.redirect(Constants.API_DOCS_URL, 302)); \ No newline at end of file