mirror of
https://github.com/gethomepage/homepage.git
synced 2026-01-08 16:55:26 +08:00
Feature: Add tandoor widget (#3060)
--------- Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
17
src/widgets/tandoor/widget.js
Normal file
17
src/widgets/tandoor/widget.js
Normal file
@@ -0,0 +1,17 @@
|
||||
import credentialedProxyHandler from "utils/proxy/handlers/credentialed";
|
||||
|
||||
const widget = {
|
||||
api: "{url}/api/{endpoint}/",
|
||||
proxyHandler: credentialedProxyHandler,
|
||||
|
||||
mappings: {
|
||||
space: {
|
||||
endpoint: "space",
|
||||
},
|
||||
keyword: {
|
||||
endpoint: "keyword",
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
export default widget;
|
||||
Reference in New Issue
Block a user