widget refactoring and cleanup

This commit is contained in:
Ben Phelps
2022-09-26 02:23:02 +03:00
parent 808e79e2ac
commit 47bc073fb4
39 changed files with 92 additions and 1410 deletions

View File

@@ -0,0 +1,14 @@
import genericProxyHandler from "utils/proxies/generic";
const widget = {
api: "{url}/admin/{endpoint}",
proxyHandler: genericProxyHandler,
mappings: {
"api.php": {
endpoint: "api.php",
},
},
};
export default widget;