Skip to content

fix(Redirects): send /null to the site root - #32

Merged
xinshoutw merged 1 commit into
mainfrom
dev
Sep 9, 2026
Merged

xinshoutw merged 1 commit into
mainfrom
dev

Conversation

@xinshoutw

Copy link
Copy Markdown
Collaborator
  • add public/_redirects so Cloudflare Pages 301s /null and /null/* to /

- add public/_redirects so Cloudflare Pages 301s /null and /null/* to /
@xinshoutw xinshoutw self-assigned this Sep 9, 2026
@xinshoutw xinshoutw added the bug Something isn't working label Sep 9, 2026
@xinshoutw
xinshoutw merged commit 2aebc68 into main Sep 9, 2026
4 checks passed
@greptile-apps

greptile-apps Bot commented Sep 9, 2026

Copy link
Copy Markdown

Greptile Summary

This PR adds Cloudflare Pages redirect rules that permanently send /null and nested /null/* paths to the site root.

  • Adds an exact redirect for /null.
  • Adds a splat redirect for paths beneath /null/.
  • Uses the repository's established public/ convention for Cloudflare deployment metadata.

Confidence Score: 5/5

The PR appears safe to merge because the redirect syntax, route coverage, and deployment location align with the repository's Cloudflare Pages setup.

The new rules correctly cover both the bare /null path and descendants, and Astro emits the file from public/ into the deployment output root.

Important Files Changed

Filename Overview
public/_redirects Adds valid Cloudflare Pages 301 rules for the exact and nested /null routes; no issues identified.

Reviews (1): Last reviewed commit: "fix(Redirects): send /null to the site r..." | Re-trigger Greptile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant