Cache Pyload widget login sessionId, refactor

This commit is contained in:
Michael Shamoon
2022-11-06 10:35:41 -08:00
parent bbacf4e671
commit 8b2b8d7b35
3 changed files with 69 additions and 23 deletions

View File

@@ -3,6 +3,12 @@ import pyloadProxyHandler from "./proxy";
const widget = {
api: "{url}/api/{endpoint}",
proxyHandler: pyloadProxyHandler,
};
mappings: {
"status": {
endpoint: "statusServer",
}
}
}
export default widget;