Browse Source

3.4.0

Fix YouTube feeds not posting anymore
shorten
benji7425 4 years ago
parent
commit
b77eded7c2
  1. 6
      CHANGELOG.md
  2. 2
      app/models/feed-data.js
  3. 2
      package.json

6
CHANGELOG.md

@ -1,10 +1,14 @@
# Changelog
## v3.4.0-b1
## v3.4.0
### Added
- Added automatic daily restart
### Updated
- Disabled a few unused websocket events
- Update database compaction to be more frequent
### Fixed
- Fixed YouTube feeds not updating
## v3.3.0
### Updated

2
app/models/feed-data.js

@ -121,7 +121,7 @@ function formatPost(article) {
function normaliseUrlForDiscord(url) {
const parsedUrl = Url.parse(url);
if (parsedUrl.host && parsedUrl.host.includes("youtube.com"))
url = normaliseYouTubeUrl(url);
url = normaliseYouTubeUrl(url, parsedUrl);
return url;
}

2
package.json

@ -1,5 +1,5 @@
{
"version": "3.4.0-b1",
"version": "3.4.0",
"main": "app/index.js",
"scripts": {
"postinstall": "cd ./discord-bot-core && npm install",

Loading…
Cancel
Save