chore: styles + build frequency/wrapping

This commit is contained in:
Cory Dransfeldt 2024-09-19 17:32:53 -07:00
parent 6e2694157c
commit 212fdb06d8
No known key found for this signature in database
5 changed files with 6 additions and 6 deletions

View file

@ -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)

View file

@ -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"