dont fetch your own sites from other peoples webring. duhhhhhhhhh. also update readme a little

merge-requests/208/head
fatchan 5 years ago
parent a2a2ad1c0a
commit 2f223a6416
  1. 4
      README.md
  2. 2
      schedules/webring.js

@ -22,11 +22,11 @@ Demo site running at https://fatpeople.lol
- [x] Webring support [lynxchan](https://gitlab.com/alogware/LynxChanAddon-Webring) [infinity](https://gitlab.com/Tenicu/infinityaddon-webring)
## Todo
- Finish moderation tools (post editing, moving/thread merging, file hash bans, range bans, ban history)
- Finish moderation tools (post editing, inter and ~~intra board~~ post moving/thread merging, file hash bans, ~~range bans~~, ban history)
- Configuration editor on the site without touching config files
- Global settings page for filters, etc
- Overboard/multiboard/meta boards
- Boards list and search page
- ~~Boards list~~ and search page
- User created board custom pages
- File URL uploads

@ -34,7 +34,7 @@ module.exports = async () => {
}
}
const known = [...new Set(found.concat(fetchWebring))]
.filter(site => !blacklist.some(x => site.includes(x)));
.filter(site => !blacklist.some(x => site.includes(x)) && !site.includes(meta.url));
//add the known sites and boards to cache in redis (so can be used later in other places e.g. board list)
cache.set('webring:sites', known);
cache.set('webring:boards', webringBoards);

Loading…
Cancel
Save