mirror of
https://github.com/CompeyDev/fxtwitter-docker.git
synced 2025-04-05 10:30:55 +01:00
Should actually resolve #480
This commit is contained in:
parent
2453b37a6d
commit
d33eb226b1
1 changed files with 14 additions and 0 deletions
|
@ -31,15 +31,29 @@ const tweetRequest = async (c: Context) => await statusRequest(c);
|
||||||
const _profileRequest = async (c: Context) => await profileRequest(c);
|
const _profileRequest = async (c: Context) => await profileRequest(c);
|
||||||
|
|
||||||
twitter.get('/:handle{[0-9a-zA-Z_]+}/:endpoint{status(es)?}/:id{[0-9]+}/:language{[a-z]+}?', tweetRequest);
|
twitter.get('/:handle{[0-9a-zA-Z_]+}/:endpoint{status(es)?}/:id{[0-9]+}/:language{[a-z]+}?', tweetRequest);
|
||||||
|
twitter.get('/:handle{[0-9a-zA-Z_]+}/:endpoint{status(es)?}/:id{[0-9]+}/', tweetRequest);
|
||||||
twitter.get('/:prefix{(dir|dl)}/:handle{[0-9a-zA-Z_]+}/status/:id{[0-9]+}/:language{[a-z]+}?', tweetRequest);
|
twitter.get('/:prefix{(dir|dl)}/:handle{[0-9a-zA-Z_]+}/status/:id{[0-9]+}/:language{[a-z]+}?', tweetRequest);
|
||||||
|
twitter.get('/:prefix{(dir|dl)}/:handle{[0-9a-zA-Z_]+}/status/:id{[0-9]+}/', tweetRequest);
|
||||||
|
twitter.get(
|
||||||
|
'/:handle{[0-9a-zA-Z_]+}/status/:id{[0-9]+}/:mediaType{(photos?|videos?)}/:mediaNumber{[1-4]}/',
|
||||||
|
tweetRequest
|
||||||
|
);
|
||||||
twitter.get(
|
twitter.get(
|
||||||
'/:handle{[0-9a-zA-Z_]+}/status/:id{[0-9]+}/:mediaType{(photos?|videos?)}/:mediaNumber{[1-4]}/:language{[a-z]+}?',
|
'/:handle{[0-9a-zA-Z_]+}/status/:id{[0-9]+}/:mediaType{(photos?|videos?)}/:mediaNumber{[1-4]}/:language{[a-z]+}?',
|
||||||
tweetRequest
|
tweetRequest
|
||||||
);
|
);
|
||||||
|
twitter.get(
|
||||||
|
'/:handle{[0-9a-zA-Z_]+}/status/:id{[0-9]+}/:mediaType{(photos?|videos?)}/:mediaNumber{[1-4]}/',
|
||||||
|
tweetRequest
|
||||||
|
);
|
||||||
twitter.get(
|
twitter.get(
|
||||||
'/:prefix{(dir|dl)}/:handle{[0-9a-zA-Z_]+}/status/:id{[0-9]+}/:mediaType{(photos?|videos?)}/:mediaNumber{[1-4]}/:language{[a-z]+}?',
|
'/:prefix{(dir|dl)}/:handle{[0-9a-zA-Z_]+}/status/:id{[0-9]+}/:mediaType{(photos?|videos?)}/:mediaNumber{[1-4]}/:language{[a-z]+}?',
|
||||||
tweetRequest
|
tweetRequest
|
||||||
);
|
);
|
||||||
|
twitter.get(
|
||||||
|
'/:prefix{(dir|dl)}/:handle{[0-9a-zA-Z_]+}/status/:id{[0-9]+}/:mediaType{(photos?|videos?)}/:mediaNumber{[1-4]}/',
|
||||||
|
tweetRequest
|
||||||
|
);
|
||||||
|
|
||||||
twitter.get('/version', versionRoute);
|
twitter.get('/version', versionRoute);
|
||||||
twitter.get('/set_base_redirect', setRedirectRequest);
|
twitter.get('/set_base_redirect', setRedirectRequest);
|
||||||
|
|
Loading…
Add table
Reference in a new issue