Only redirect api to docs from root

This commit is contained in:
dangered wolf 2023-11-10 18:49:51 -05:00
parent b40a29954f
commit 2453b37a6d
No known key found for this signature in database
GPG key ID: 41E4D37680ED8B58

View file

@ -13,4 +13,4 @@ api.get('/robots.txt', async c => c.text(Strings.ROBOTS_TXT_API));
api.get('/:handle', profileRequest); api.get('/:handle', profileRequest);
api.all('*', async c => c.redirect(Constants.API_DOCS_URL, 302)); api.get('/', async c => c.redirect(Constants.API_DOCS_URL, 302));