homepage/src/widgets/freshrss/widget.js
Heng-Yi Wu e8713a95c0
Add FreshRSS widget (#1377)
* feat: add FreshRSS widget

* refactor: revert credentialed.js

* refactor: custom proxy handler for FreshRSS

* refactor: cache the token as long as possible

During installation, the salt is generated and remains constant unless
the user re-installs the FreshRSS instance.
2023-04-19 08:26:58 -07:00

14 lines
238 B
JavaScript

import freshrssProxyHandler from "./proxy";
const widget = {
api: "{url}/api/greader.php/{endpoint}?output=json",
proxyHandler: freshrssProxyHandler,
mappings: {
info: {
endpoint: "/"
}
}
};
export default widget;