Tag: cloudflare
I've been running this blog on peterbabic.dev for a few years. Recently I
migrated it to peterbabic.com. This post is a bit late because I wanted
to make sure everything was working correctly before writing about it. How I got the domains The .dev domain wasn't my first choice. I... I've had the peterbabic.sk domain sitting unused
for years. Meanwhile this blog has been English-only. Recently I figured
why not use both? The Slovak version could help with local SEO and make my
content accessible to people who prefer reading in Slovak. The challenge was doing... If you're getting a 400 Bad Request with "Invalid signature" from your
Stripe webhook on Cloudflare Workers or Cloudflare Pages, the actual
problem might not be your webhook secret at all. The symptom The Stripe webhook endpoint returns: ``
400 Bad Request
Invalid signature
` In... For years I have been running this blog on Zola without any comment system.
The static nature of Zola made adding comments non-trivial and I was not
keen on third-party solutions like Disqus or Giscus. When I migrated to
Astro (not yet published at the time of writing), the oppor... I've been using GitHub Actions to
automatically backup my Cloudflare
DNS records as JSON files for a while now. It's a simple but effective way
to keep track of DNS changes and have a safety net in case something goes
wrong. Recently, I decided to enhance this setup by also backi... I recently encountered a frustrating issue where syntax highlighting worked
perfectly when running zola serve locally, but completely disappeared
when deployed to Cloudflare Pages. Here's how I diagnosed and fixed the
problem. The Symptoms The issue manifested in two ways: 1. Vis... Here's a quick Github Action a prompt blurted to periodically backup a
Cloudflare DNS settings for all my domains and commit them into the
repository. Zero maintenance required once set up: ``yaml
name: Cloudflare DNS Backup on:
workflow_dispatch:
schedule:
cron: "40 0 0" j...