Skip to content

Point retired CDN asset URLs at /rescue (221 links) - #90

Open
jeninh wants to merge 1 commit into
hackclub:mainfrom
jeninh:cdn-v4-migration
Open

jeninh wants to merge 1 commit into
hackclub:mainfrom
jeninh:cdn-v4-migration

Conversation

@jeninh

@jeninh jeninh commented Sep 2, 2026

Copy link
Copy Markdown

Points 221 retired-CDN asset references across 24 files at the current CDN's lookup endpoint, cdn.hackclub.com/rescue?url=<original>.

The old Vercel and Hetzner origins are being retired. /rescue resolves an original URL to wherever that file now lives on the v4 CDN, so wrapping the existing URL keeps these assets loading without moving any bytes or re-uploading anything.

- ![screenshot](https://cloud-abc123-hack-club-bot.vercel.app/0image.png)
+ ![screenshot](https://cdn.hackclub.com/rescue?url=https://cloud-abc123-hack-club-bot.vercel.app/0image.png)

Scope

  • 221 references rewritten across 24 files.
  • Text references only — no image bytes, no filenames, no uploads, no layout changes.
  • Every change is a pure URL-for-URL substitution, verified programmatically: masking the rewritten spans in both the original and the result yields byte-identical documents, so no surrounding markup was touched.
  • Original URLs are preserved verbatim inside the url= parameter, so this is fully reversible and nothing is lost.

Note: 2 of these will still 404 for now

Those files are already gone from the old CDN (the source URLs 404 and /rescue has no record of them), so they are broken today and stay broken. Wrapping them costs nothing and means they start working automatically if the assets are ever recovered and mapped, which a bare dead URL would never do.

@vercel

vercel Bot commented Sep 2, 2026

Copy link
Copy Markdown

@jeninh is attempting to deploy a commit to the Hack Club Team on Vercel.

A member of the Team first needs to authorize it.

Wraps each remaining Vercel/Hetzner CDN URL in cdn.hackclub.com/rescue?url=<original>
across 24 files. No bytes moved, no uploads, original URLs preserved verbatim.
@jeninh jeninh changed the title Migrate asset URLs to cdn.hackclub.com (219 links) Point retired CDN asset URLs at /rescue (221 links) Sep 2, 2026

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