mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-11 23:58:46 +00:00
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.
This commit is contained in:
parent
1aa559537a
commit
e8713a95c0
6 changed files with 150 additions and 0 deletions
13
src/widgets/freshrss/widget.js
Normal file
13
src/widgets/freshrss/widget.js
Normal file
|
@ -0,0 +1,13 @@
|
|||
import freshrssProxyHandler from "./proxy";
|
||||
|
||||
const widget = {
|
||||
api: "{url}/api/greader.php/{endpoint}?output=json",
|
||||
proxyHandler: freshrssProxyHandler,
|
||||
mappings: {
|
||||
info: {
|
||||
endpoint: "/"
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
export default widget;
|
Loading…
Add table
Add a link
Reference in a new issue