Repository navigation
Host Tick on Cloudflare Workers instead of Vercel - #8
Open
iamsrikanth-dev wants to merge 2 commits into
Open
iamsrikanth-dev wants to merge 2 commits into
iamsrikanth-dev wants to merge 2 commits into
Conversation
Vercel paused the account on 31 Oct (MetricDeck's CPU went over the Hobby limit), taking tick.metricdeck.app down with it until 30 Nov. Tick is a static site, so it now runs as a Cloudflare Workers static assets project with no code. - wrangler.jsonc serves dist/ with clean paths (/app is app.html) and attaches tick.metricdeck.app (metricdeck.app's DNS is on Cloudflare). - public/_headers carries vercel.json's security and cache headers; public/_redirects keeps the permanent .html redirects. - vercel.json removed; README and vite.config.ts say how it deploys. Already deployed and checked live: every page, the headers, cache rules and redirects match what Vercel served. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The first commit only carried the removal of vercel.json: these are the files that replace it (wrangler.jsonc, public/_headers, public/_redirects) and the README and vite.config.ts notes on how Tick now deploys. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
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.
Vercel paused the account on 31 Oct (MetricDeck went over the Hobby CPU limit), which took tick.metricdeck.app down until 30 Nov. Tick is a static site, so it now runs on Cloudflare Workers as static assets, with no code.
wrangler.jsoncservesdist/with clean paths (/appservesapp.html) and attachestick.metricdeck.appas a custom domain. metricdeck.app's DNS moved to Cloudflare.public/_headerscarries the security and cache headers fromvercel.json.public/_redirectskeeps the permanent redirects from the.htmladdresses.vercel.jsonis removed. The README andvite.config.tsdescribe the new deploy.Deploying:
npm run build, thennpx wrangler deploy. Merging doesn't deploy anything.Already live and checked: every page (
/,/app, both guides,sw.js,robots.txt,sitemap.xml,llms.txt, the manifest and the share image) returns 200. Unknown paths return 404, and the.htmladdresses redirect with 301. The security headers (frame-ancestors, X-Frame-Options, HSTS, Permissions-Policy, Referrer-Policy, nosniff), the immutable cache on/assets/*andno-cacheonsw.jsall match what Vercel served. The app loads in Chrome with no console errors.🤖 Generated with Claude Code