chore: styles + build frequency/wrapping
This commit is contained in:
parent
6e2694157c
commit
212fdb06d8
5 changed files with 6 additions and 6 deletions
|
@ -30,7 +30,7 @@ async function handleScheduledEvent(env) {
|
|||
|
||||
if (existingPost) continue
|
||||
|
||||
const plainTextDescription = convert(item.description, { wordwrap: 130 })
|
||||
const plainTextDescription = convert(item.description)
|
||||
const content = `${item.title}\n\n${plainTextDescription}\n\n${item.link}`
|
||||
|
||||
await postToMastodon(mastodonApiUrl, accessToken, content)
|
||||
|
|
|
@ -14,7 +14,7 @@ id = "${RSS_TO_MASTODON_KV_NAMESPACE_ID}"
|
|||
|
||||
[env.production]
|
||||
name = "rss-to-mastodon-worker-production"
|
||||
triggers = { crons = ["0 * * * *"] }
|
||||
triggers = { crons = ["*/15 * * * *"] }
|
||||
|
||||
[[env.production.kv_namespaces]]
|
||||
binding = "RSS_TO_MASTODON_NAMESPACE"
|
||||
|
|
Reference in a new issue