Create widget.js

This commit is contained in:
teffalump 2024-03-03 13:09:14 -08:00 committed by GitHub
parent 2958b7303c
commit 7cd6464278
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View 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;