mirror of
https://github.com/gethomepage/homepage.git
synced 2026-01-08 00:12:08 +08: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:
committed by
GitHub
parent
3a27486c34
commit
43a11eadfc
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;
|
||||
Reference in New Issue
Block a user