mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-13 08:20:34 +00:00
added widget for xteve (#731)
* added xteve widget * eslint fixes * xteve code cleanup Co-authored-by: Marcus Kimpenhaus <k@AirM2.kimpenhaus.net> Co-authored-by: Michael Shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
parent
3a27486c34
commit
43a11eadfc
6 changed files with 119 additions and 0 deletions
14
src/widgets/xteve/widget.js
Normal file
14
src/widgets/xteve/widget.js
Normal file
|
@ -0,0 +1,14 @@
|
|||
import xteveProxyHandler from "./proxy";
|
||||
|
||||
const widget = {
|
||||
api: "{url}/{endpoint}",
|
||||
proxyHandler: xteveProxyHandler,
|
||||
|
||||
mappings: {
|
||||
"api": {
|
||||
endpoint: "api/",
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
export default widget;
|
Loading…
Add table
Add a link
Reference in a new issue