mirror of
https://github.com/karl0ss/homepage.git
synced 2025-04-29 12:03:41 +01:00
24 lines
412 B
JavaScript
24 lines
412 B
JavaScript
![]() |
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;
|