1
0
mirror of https://git.sr.ht/~cadence/cloudtube synced 2024-09-19 18:57:30 +00:00
cloudtube/api
Lomanic eb111a44c4
Proxy captions via new /proxy route
We can add more authorized paths to authorizedPaths if we need
more resources to be pulled from the NewLeaf/Invidious backend
on the same domain.

This route forwards to the client a few headers like Bibliogram
https://git.sr.ht/~cadence/bibliogram/tree/ea7cd5d5/item/src/site/api/proxy.js#L28-29
so we can also use this route to possibly proxy videos in the
future.

We are strict about the url parameter not overriding the
NewLeaf/Invidious backend (instanceOrigin) by ensuring
fetchURL has instanceOrigin as prefix.
2021-05-25 00:04:32 +12:00
..
channels.js Correctly set filter referrer everywhere 2021-05-12 00:43:53 +12:00
filters.js Implement video filters 2021-05-12 00:29:44 +12:00
formapi.js Add "mark watched" button to subscriptions page 2021-01-09 14:09:59 +13:00
pages.js Add JavaScript licenses page 2021-04-16 16:31:54 +12:00
proxy.js Proxy captions via new /proxy route 2021-05-25 00:04:32 +12:00
redirects.js Support /e/ redirection 2021-02-22 23:33:32 +13:00
search.js Correctly set filter referrer everywhere 2021-05-12 00:43:53 +12:00
settings.js Delete existing watch history when disabled 2021-04-26 00:00:56 +12:00
subscriptions.js Implement video filters 2021-05-12 00:29:44 +12:00
thumbnails.js Make VSCode type detection happier 2021-05-11 21:58:41 +12:00
video.js Proxy captions via new /proxy route 2021-05-25 00:04:32 +12:00