Skip to content

Allow the real Pages origin (skyvault-25r.pages.dev) - #8

Merged
AndrewRobalino merged 1 commit into
mainfrom
fix/pages-origin
Oct 3, 2026
Merged

AndrewRobalino merged 1 commit into
mainfrom
fix/pages-origin

Conversation

@AndrewRobalino

Copy link
Copy Markdown
Owner

Cloudflare gave the site skyvault-25r.pages.dev (plain skyvault was taken). This lets that origin (and its preview deploys) call the API.

  • render.yaml: CORS origin + preview regex
  • smoke test --origin
  • test_cors.py now reads the origins from render.yaml, so the two cannot drift; it also catches an unescaped-dot regex (verified by breaking it on purpose)

Backend 230 passing.

🤖 Generated with Claude Code

"skyvault.pages.dev" was taken, so Cloudflare assigned skyvault-25r.
Updates render.yaml CORS (origin + preview regex), smoke --origin, and
makes test_cors read the origins from render.yaml so they cannot drift;
it also rejects an unescaped-dot regex (verified by breaking it).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying skyvault with  Cloudflare Pages  Cloudflare Pages

Latest commit: fe423b9
Status: ✅  Deploy successful!
Preview URL: https://48584101.skyvault-25r.pages.dev
Branch Preview URL: https://fix-pages-origin.skyvault-25r.pages.dev

View logs

@AndrewRobalino
AndrewRobalino merged commit 143241f into main Oct 3, 2026
3 checks passed
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