mirror of
https://github.com/CompeyDev/fxtwitter-docker.git
synced 2025-04-05 02:20:54 +01:00
Only redirect api to docs from root
This commit is contained in:
parent
b40a29954f
commit
2453b37a6d
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
api.get('/', async c => c.redirect(Constants.API_DOCS_URL, 302));
|
Loading…
Add table
Reference in a new issue