RudRecciah
RudRecciah
CDCloudflare Developers
Created by RudRecciah on 8/22/2024 in #workers-help
How to return fallback content from Workers?
I have a single file (an image) that I'd like to return from a Worker, but I don't want the image to depend on the Worker. So, if the worker was to fail to run (from hitting a rate limit or otherwise) the file would still be returned. I've been thinking the best way to do this is to host the file on Pages, and use Functions to execute a Worker as a side-effect every time the Pages site receives a request, but I'm not sure how to do that. Is this possible and if so how would I do it? (or is there a better way?)
2 replies
CDCloudflare Developers
Created by RudRecciah on 1/12/2024 in #pages-help
Making multiple applications with one repo
I'm using a monorepo for a project, and inside that monorepo are two different websites. I want to deploy both of them with Pages, but the dashboard only allows one application per repo. Is it possible to create multiple applications based on one repo somehow?
2 replies