Skip to content

Instantly share code, notes, and snippets.

View mortenboldt's full-sized avatar

Morten Boldt mortenboldt

View GitHub Profile
mortenboldt / clouflare-worker-static-page-backblaze.js
Created January 27, 2022 18:19 — forked from maltechx/clouflare-worker-static-page-backblaze.js
Host a static page on Backblaze and distribute it via Cloudflare and their Workers.
// Imprved the script from this blog
// Backblaze Url
const baseURL = ""
addEventListener('fetch', event => {
async function handleRequest(event) {