|
|
@ -2,7 +2,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
const fetch = require('node-fetch') |
|
|
|
const fetch = require('node-fetch') |
|
|
|
, { meta } = require(__dirname+'/../configs/main.js') |
|
|
|
, { meta } = require(__dirname+'/../configs/main.js') |
|
|
|
, { logos, following, blacklist } = require(__dirname+'/../configs/webring.json') |
|
|
|
, { logo, following, blacklist } = require(__dirname+'/../configs/webring.json') |
|
|
|
, { Boards, Webring } = require(__dirname+'/../db/') |
|
|
|
, { Boards, Webring } = require(__dirname+'/../db/') |
|
|
|
, { outputFile } = require('fs-extra') |
|
|
|
, { outputFile } = require('fs-extra') |
|
|
|
, cache = require(__dirname+'/../redis.js') |
|
|
|
, cache = require(__dirname+'/../redis.js') |
|
|
@ -63,7 +63,7 @@ module.exports = async () => { |
|
|
|
name: meta.siteName, |
|
|
|
name: meta.siteName, |
|
|
|
url: meta.url, |
|
|
|
url: meta.url, |
|
|
|
endpoint: `${meta.url}/webring.json`, |
|
|
|
endpoint: `${meta.url}/webring.json`, |
|
|
|
logos, |
|
|
|
logo, |
|
|
|
following, |
|
|
|
following, |
|
|
|
blacklist, |
|
|
|
blacklist, |
|
|
|
known, |
|
|
|
known, |
|
|
|