feat: add tubearchivist widget

This commit is contained in:
Brandon Barker 2022-10-31 15:23:34 +02:00
parent 49a764e864
commit 68b8e4b376
6 changed files with 74 additions and 0 deletions

View file

@ -0,0 +1,23 @@
import credentialedProxyHandler from "utils/proxy/handlers/credentialed";
const widget = {
api: "{url}/api/{endpoint}",
proxyHandler: credentialedProxyHandler,
mappings: {
downloads: {
endpoint: "download",
},
videos: {
endpoint: "video",
},
channels: {
endpoint: "channel",
},
playlists: {
endpoint: "playlist",
},
},
};
export default widget;