mirror of
https://git.sr.ht/~cadence/bibliogram
synced 2024-11-22 08:07:30 +00:00
Add alias paths /tv/, /igtv/, /reel
This commit is contained in:
parent
9b902d1149
commit
c6ea5ae8e4
@ -279,7 +279,7 @@ module.exports = [
|
||||
}
|
||||
},
|
||||
{
|
||||
route: `/p/(${constants.external.shortcode_regex})`, methods: ["GET"], code: async ({req, fill}) => {
|
||||
route: `/(?:p|tv|igtv|reel)/(${constants.external.shortcode_regex})`, methods: ["GET"], code: async ({req, fill}) => {
|
||||
const shortcode = fill[0]
|
||||
const settings = getSettings(req)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user