mirror of
https://github.com/andwati/andwati.com.git
synced 2026-10-18 01:12:53 +00:00
fix _redirects: drop absolute-URL www redirect breaking deploy
Cloudflare Workers static assets rejects the www->apex redirect rule with "Only relative URLs are allowed" (Pages allows absolute source URLs for cross-host redirects, but this project deploys via wrangler's static assets, not Pages, which doesn't). The www/apex canonicalization needs to be handled via Cloudflare's dashboard Redirect Rules instead.
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
https://www.andwati.com/* https://andwati.com/:splat 301
|
||||
/security.txt /.well-known/security.txt 301
|
||||
/index.xml /rss.xml 301
|
||||
|
||||
Reference in New Issue
Block a user