Skip to content

Host Tick on Cloudflare Workers instead of Vercel - #8

Open
iamsrikanth-dev wants to merge 2 commits into
mainfrom
cloudflare-hosting
Open

iamsrikanth-dev wants to merge 2 commits into
mainfrom
cloudflare-hosting

Conversation

@iamsrikanth-dev

Copy link
Copy Markdown
Owner

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.jsonc serves dist/ with clean paths (/app serves app.html) and attaches tick.metricdeck.app as a custom domain. metricdeck.app's DNS moved to Cloudflare.
  • public/_headers carries the security and cache headers from vercel.json. public/_redirects keeps the permanent redirects from the .html addresses.
  • vercel.json is removed. The README and vite.config.ts describe the new deploy.

Deploying: npm run build, then npx 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 .html addresses redirect with 301. The security headers (frame-ancestors, X-Frame-Options, HSTS, Permissions-Policy, Referrer-Policy, nosniff), the immutable cache on /assets/* and no-cache on sw.js all match what Vercel served. The app loads in Chrome with no console errors.

🤖 Generated with Claude Code

iamsrikanth-dev and others added 2 commits November 2, 2026 15:42
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

No deployments
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