fix: build post URLs without a request context (v2.17.1)

Crossposting runs in a background worker; url_for there raised and every
crosspost failed. post_url now joins SITE_URL and post_path.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
PhilandClaude Opus 5.5 committed 2026-11-12 12:53:54 -07:00
1 parent 191c99b59b
commit 6368365bd6
4 files changed
+23 -4

No files matched your search

+6
View File
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
## [2.17.1] - 2026-11-12
### Fixed
- Crossposting failed in 2.17.0 (never deployed): post URLs were built with Flask's `url_for`, which needs a web request, and crossposts run in a background worker. URLs are now built from `SITE_URL`
## [2.17.0] - 2026-11-12
Articles get URLs of their own (ADR-077).