Skip to content

Add a /redirect-to route for single-hop redirects with a configurable status code - #7

Merged
mattiasgeniar merged 2 commits into
mainfrom
add-redirect-to-route
May 5, 2026
Merged

Add a /redirect-to route for single-hop redirects with a configurable status code#7
mattiasgeniar merged 2 commits into
mainfrom
add-redirect-to-route

Conversation

@mattiasgeniar

Copy link
Copy Markdown
Contributor

Closes the last gap before the uptime-checker test suite can drop the live spatie.be 301 chain. Accepts a target URL and an optional status (300-399, default 302) so callers can test client behavior against any 3xx code.

@mattiasgeniar
mattiasgeniar merged commit 59d270f into main May 5, 2026
3 checks passed
@mattiasgeniar
mattiasgeniar deleted the add-redirect-to-route branch May 5, 2026 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant