summaryrefslogtreecommitdiff
path: root/ibb
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2025-11-15 20:30:39 -0500
committerBen Sima <ben@bsima.me>2025-11-15 20:30:39 -0500
commitb0b7b771f3b410c5a9031b2ae8e17d9634cdbb65 (patch)
tree3655a9545bc8a7a5a8a3a169cd6ecfc523d42e4a /ibb
parent803f82595f307b66e5bc195a02d38effd0a60b3a (diff)
Add backward compatibility redirect for legacy episode URLsHEADlive
Maintain compatibility with old sequential integer episode URLs by redirecting them to the new sqid-based URLs with a 301 permanent redirect. - Add /episode/{episode_id:int} route for legacy integer IDs - Redirect with 301 status to indicate permanent move to new URL - Add test to verify redirect behavior - Mark route as deprecated in documentation This allows existing shared links to continue working while encouraging adoption of the new non-sequential URLs. The legacy route can be removed after a deprecation period. Amp-Thread-ID: https://ampcode.com/threads/T-cc5d29f0-454e-4864-8d7e-1ad69a42afa9 Co-authored-by: Amp <amp@ampcode.com>
Diffstat (limited to 'ibb')
0 files changed, 0 insertions, 0 deletions