mirror of
https://github.com/CompeyDev/fxtwitter-docker.git
synced 2025-04-05 02:20:54 +01:00
Workaround for api home redir not working
This commit is contained in:
parent
d6bf634cef
commit
9da7927c13
1 changed files with 2 additions and 1 deletions
|
@ -27,4 +27,5 @@ api.get('/robots.txt', async c => c.text(Strings.ROBOTS_TXT_API));
|
|||
api.get('/:handle', profileRequest);
|
||||
api.get('/:handle/', profileRequest);
|
||||
|
||||
api.get('/', async c => c.redirect(Constants.API_DOCS_URL, 302));
|
||||
/* TODO: Figure out why / won't resolve but * does */
|
||||
api.get('*', async c => c.redirect(Constants.API_DOCS_URL, 302));
|
Loading…
Add table
Reference in a new issue