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 Models from './models'
|
||||||
import config from '../../scripts/load-config'
|
import config from '../../scripts/load-config'
|
||||||
|
|
||||||
import Feed from 'feed'
|
import { Feed } from 'feed'
|
||||||
|
|
||||||
const perPage = 8
|
const perPage = 8
|
||||||
|
|
||||||
@ -125,7 +125,7 @@ const News = {
|
|||||||
link: config.server.domain + '/news',
|
link: config.server.domain + '/news',
|
||||||
image: config.server.domain + '/static/image/icynet-icon.png',
|
image: config.server.domain + '/static/image/icynet-icon.png',
|
||||||
favicon: config.server.domain + '/favicon.ico',
|
favicon: config.server.domain + '/favicon.ico',
|
||||||
copyright: '2018 Icy Network - Some Rights Reserved',
|
copyright: '2020 Icy Network',
|
||||||
updated: new Date(),
|
updated: new Date(),
|
||||||
feedLinks: {
|
feedLinks: {
|
||||||
json: config.server.domain + '/news/feed.json',
|
json: config.server.domain + '/news/feed.json',
|
||||||
|
Reference in New Issue
Block a user