Repository navigation
AW1: the site on Workers - #2
Merged
Merged
Conversation
AstroWind in apps/web, built fully static (output: 'static', no adapter) and deployed as Workers Static Assets: dist/ uploaded with one small Worker (worker/index.ts) that hands requests matching no file back to the assets for the site's 404 page. vercel.json's cleanUrls and trailingSlash become html_handling drop-trailing-slash, its /_astro cache header is public/_headers. The site's name is one seam (src/site.ts SITE_NAME) read by the theme's config builder; the theme's virtual module and integration are renamed theme, because this repository's slug is the template's name and a rename would break the import. Each deploy builds for its own origin (PUBLIC_SITE_URL: SITE_URL, else the environment's workers.dev URL). component.yaml is the deploy contract with a smoke over /, /blog and a 404. Tests over Astro's container API (the name seam, the header, the Worker). typecheck, lint, test and build are green, and wrangler dev serves every page, post, demo, feed and sitemap. Co-Authored-By: Claude <noreply@anthropic.com> Orun-Task: AW-2
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.
AstroWind in apps/web, built fully static (output: 'static', no adapter) and deployed as Workers Static Assets: dist/ uploaded with one small Worker (worker/index.ts) that hands requests matching no file back to the assets for the site's 404 page. vercel.json's cleanUrls and trailingSlash become html_handling drop-trailing-slash, its /_astro cache header is public/_headers. The site's name is one seam (src/site.ts SITE_NAME) read by the theme's config builder; the theme's virtual module and integration are renamed theme, because this repository's slug is the template's name and a rename would break the import. Each deploy builds for its own origin (PUBLIC_SITE_URL: SITE_URL, else the environment's workers.dev URL). component.yaml is the deploy contract with a smoke over /, /blog and a 404. Tests over Astro's container API (the name seam, the header, the Worker). typecheck, lint, test and build are green, and wrangler dev serves every page, post, demo, feed and sitemap.
🤖 Generated with Claude Code