Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions public/_redirects
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/* https://www.uplb.tools/:splat 301

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This rule is unconditional on host, but the same Cloudflare Pages project (uplbtools-me) also serves PR preview deployments per .github/workflows/deploy-cloudflare.yml (pages deploy dist --project-name=uplbtools-me --branch=pr-${{ github.event.pull_request.number }}). Cloudflare Pages _redirects rules apply to every hostname tied to the project, including pr-N.uplbtools-me.pages.dev, so every preview deploy will now 301 straight to www.uplb.tools before rendering, making PR previews on Cloudflare unviewable.

Loading