Serve images from R2 via files.iddaai.com
Deploy Iddaai Backend / build-and-deploy (push) Successful in 54s
Deploy Iddaai Backend / build-and-deploy (push) Successful in 54s
Add IMAGE_BASE_URL to the deploy env so the backend builds image URLs against the Cloudflare image-proxy Worker instead of mackolik, and check in the Worker source (already live on files.iddaai.com). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
name = "iddaai-image-proxy"
|
||||
main = "src/index.ts"
|
||||
compatibility_date = "2026-06-01"
|
||||
|
||||
[[r2_buckets]]
|
||||
binding = "BUCKET"
|
||||
bucket_name = "iddaai-images"
|
||||
|
||||
# Custom domain (configured in the Cloudflare dashboard on 2026-06-10;
|
||||
# kept here so CLI deploys stay in sync).
|
||||
[[routes]]
|
||||
pattern = "files.iddaai.com"
|
||||
custom_domain = true
|
||||
Reference in New Issue
Block a user