forked from Mirrors/doipjs
Do not react to lack of setup
This commit is contained in:
parent
3c1302c150
commit
37fe998fd8
1 changed files with 1 additions and 3 deletions
|
@ -58,9 +58,7 @@ module.exports.fn = async (data, opts) => {
|
||||||
try {
|
try {
|
||||||
validator.isURL(opts.claims.activitypub.url)
|
validator.isURL(opts.claims.activitypub.url)
|
||||||
isConfigured = true
|
isConfigured = true
|
||||||
} catch (err) {
|
} catch (_) {}
|
||||||
console.log(`ActivityPub fetcher was not set up (${err.message})`)
|
|
||||||
}
|
|
||||||
|
|
||||||
const now = new Date()
|
const now = new Date()
|
||||||
const { host, pathname, search } = new URL(data.url)
|
const { host, pathname, search } = new URL(data.url)
|
||||||
|
|
Loading…
Reference in a new issue