fix news atom feed

parent 0350659b
......@@ -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',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment