fix news atom feed
This commit is contained in:
parent
0350659b6c
commit
229a7db04a
@ -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',
|
||||
|
Reference in New Issue
Block a user