fix news atom feed

This commit is contained in:
Evert Prants 2020-07-06 22:04:19 +03:00
parent 0350659b6c
commit 229a7db04a
Signed by: evert
GPG Key ID: 1688DA83D222D0B5

View File

@ -2,7 +2,7 @@ import API from './index'
import Models from './models'
import config from '../../scripts/load-config'
import Feed from 'feed'
import { Feed } from 'feed'
const perPage = 8
@ -125,7 +125,7 @@ const News = {
link: config.server.domain + '/news',
image: config.server.domain + '/static/image/icynet-icon.png',
favicon: config.server.domain + '/favicon.ico',
copyright: '2018 Icy Network - Some Rights Reserved',
copyright: '2020 Icy Network',
updated: new Date(),
feedLinks: {
json: config.server.domain + '/news/feed.json',