Conversation
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
virtool-ca | 2bccb80 | May 05 2026, 08:36 PM |
There was a problem hiding this comment.
Code Review
This pull request integrates Cloudflare Wrangler into the project to facilitate deployment and local previewing of built assets. Key changes include adding wrangler to the development dependencies, updating the preview script, and adding a new deploy command in package.json. Additionally, a wrangler.jsonc configuration file has been introduced to define the project's asset handling and compatibility settings. There were no review comments provided, and I have no further feedback on these changes.
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.
Summary
wrangler.jsoncconfiguration to deploy the static Astro site as a Cloudflare Worker with proper asset handling and trailing-slash normalizationwrangleras a dev dependency and introducesdeployandpreviewnpm scripts that build then run via Wrangler (original Astro preview preserved aspreview:astro)Test plan
npm run buildto confirm the site builds without errorsnpm run previewand verify the site is served correctly via Wrangler locallynpm run deployand confirm the site deploys to Cloudflare Workers