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";