~cadence/bibliogram

c6ea5ae8e4e5f21dd33a62afeebbf8df8c534354 — Cadence Ember 2 months ago 9b902d1
Add alias paths /tv/, /igtv/, /reel
1 files changed, 1 insertions(+), 1 deletions(-)

M src/site/api/routes.js
M src/site/api/routes.js => src/site/api/routes.js +1 -1
@@ 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)