mirror of
https://github.com/gethomepage/homepage.git
synced 2026-01-12 03:52:18 +08:00
Add audiobookshelf widget
This commit is contained in:
14
src/widgets/audiobookshelf/widget.js
Executable file
14
src/widgets/audiobookshelf/widget.js
Executable file
@@ -0,0 +1,14 @@
|
||||
import audiobookshelfProxyHandler from "./proxy";
|
||||
|
||||
const widget = {
|
||||
api: "{url}/api/{endpoint}",
|
||||
proxyHandler: audiobookshelfProxyHandler,
|
||||
|
||||
mappings: {
|
||||
libraries: {
|
||||
endpoint: "libraries",
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
export default widget;
|
||||
Reference in New Issue
Block a user