Add widget for Atsumeru self-hosted media server (#1839)

* Add widget for Atsumeru self-hosted media server

* Revert localization

* Update widget.js

---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
AtsumeruDev 2023-08-21 19:30:22 +03:00 committed by GitHub
parent 7bd433922f
commit a6dac34b24
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 59 additions and 0 deletions

View file

@ -0,0 +1,14 @@
import genericProxyHandler from "utils/proxy/handlers/generic";
const widget = {
api: "{url}/api/server/{endpoint}",
proxyHandler: genericProxyHandler,
mappings: {
info: {
endpoint: "info"
}
},
};
export default widget;