From 2d8ccc863d9ee3a83371111227a79fc71f3b92d0 Mon Sep 17 00:00:00 2001 From: Holden <122419606+midozen@users.noreply.github.com> Date: Sat, 27 Jun 2026 11:06:34 -0500 Subject: [PATCH] Configure Cloudflare image service --- astro.config.mjs | 6 ++++-- src/pages/index.astro | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/astro.config.mjs b/astro.config.mjs index f2d2e20..551630e 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -5,11 +5,13 @@ import cloudflare from '@astrojs/cloudflare'; // https://astro.build/config export default defineConfig({ - adapter: cloudflare(), + adapter: cloudflare({ + imageService: { build: 'compile', runtime: 'passthrough' } + }), env: { schema: { TWY_API_URL: envField.string({ context: "server", access: "public", default: "https://api.recroom.baby" }), TWY_CDN_URL: envField.string({ context: "server", access: "public", default: "https://cdn.recroom.baby" }) } } -}); \ No newline at end of file +}); diff --git a/src/pages/index.astro b/src/pages/index.astro index c685bb7..5d7194e 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -19,7 +19,7 @@ import HandheldVideos from "$components/Home/HandheldVideos.astro";

TenWholeYears