mirror of
https://git.sr.ht/~cadence/cloudtube
synced 2026-01-10 20:06:30 +00:00
Support /e/ redirection
This commit is contained in:
parent
39c3c28bc2
commit
2f2cebfc7d
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@ const {redirect} = require("pinski/plugins")
|
||||||
|
|
||||||
module.exports = [
|
module.exports = [
|
||||||
{
|
{
|
||||||
route: `/(?:watch/|w/|v/|shorts/)?(${constants.regex.video_id})`, priority: -1, methods: ["GET"], code: async ({fill, url}) => {
|
route: `/(?:watch/|w/|v/|shorts/|e/)?(${constants.regex.video_id})`, priority: -1, methods: ["GET"], code: async ({fill, url}) => {
|
||||||
/*
|
/*
|
||||||
Why not URLSearchParams?
|
Why not URLSearchParams?
|
||||||
URLSearchParams is an unordered map, and URLs are more
|
URLSearchParams is an unordered map, and URLs are more
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue