1
0
Fork 0
mirror of https://github.com/benbusby/farside.git synced 2025-04-19 18:38:42 +00:00
farside/lib
Ben Busby 52833ef89e
Redirect youtu.be links to the correct instance
Farside was previously only looking for links containing "youtube.com"
when performing the redirect for full URLs to youtube, which obviously
doesn't work for youtu.be shortened links. This updates the matching
logic to use a regex element for every key in the services map in order
to match against multiple possible domains for each parent service.

Fixes #40
2022-06-21 15:01:23 -06:00
..
farside Include query params for all /_/ prefixed links 2022-06-13 10:20:39 -06:00
farside.ex Redirect youtu.be links to the correct instance 2022-06-21 15:01:23 -06:00
service.ex Move Service struct def to its own module 2021-11-10 11:48:39 -07:00