Repository navigation
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Moves landnav.app from Cloudflare Pages to a Worker with static assets, built by Workers Builds, as gshaw.ca #35 did. Same Hugo build, same files.
wrangler.jsonc: Workerlandnav-website, no script, servespublic/, 404 page, custom domainlandnav.app. Production's workers.dev URL is off; branches get Preview URLs.mainrunshugothennpx wrangler@4.143.1 deploy; other branches runwrangler preview. Both triggers setHUGO_VERSION=0.167.0.scripts/pages-status.shbecomesscripts/build-status.sh, reading theWorkers Builds: landnav-websitecheck run..mise.toml,AGENTS.md,README.mdandscripts/deploy-guard.shlose their Pages wording..wrangler/is gitignored.static/_headers: the Worker sent.well-known/apple-app-site-association(it claims/share/*for onNav Marine) with no Content-Type, where Pages sentapplication/octet-stream. It now goes out asapplication/json, the type Apple documents. Checked on workers.dev and on this branch's Preview.Checked
mise run check: cspell 25 files, markdownlint passed, lychee 77 OK.landnav-website.gerry-shaw.workers.dev: all 21 files 200 with the local build's bytes, an unknown URL 404 with the site's page.X-Robots-Tag: noindex.Rollback: DNS and Pages before the switch
Zone
landnav.appDNS records:Pages project
landnav-websitesource.config:{ "owner": "gshaw", "owner_id": "33321", "repo_name": "LandNav.website", "repo_id": "642588368", "production_branch": "main", "pr_comments_enabled": true, "deployments_enabled": true, "production_deployments_enabled": true, "preview_deployment_setting": "all", "preview_branch_includes": [ "*" ], "preview_branch_excludes": [], "path_includes": [ "*" ], "path_excludes": [] }At merge: pause the Pages builds (
production_deployments_enabled: false,preview_deployment_setting: "none"), removelandnav.appfrom the Pages project, delete only the root CNAME (id4eddf26f6f9939a0db051a39a1e161b2), merge. The merge's build attaches the custom domain. Every other record stays. To roll back: put the CNAME and the Pages domain back, and restore thesource.configabove.🤖 Generated with Claude Code