Configure Cloudflare image service

This commit is contained in:
Holden
2026-06-27 11:06:34 -05:00
parent 2608c9fc52
commit 2d8ccc863d
2 changed files with 5 additions and 3 deletions

View File

@@ -5,7 +5,9 @@ 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" }),

View File

@@ -19,7 +19,7 @@ import HandheldVideos from "$components/Home/HandheldVideos.astro";
<div class="container">
<Image
src={logoImage}
alt="asdasd"
alt="TenWholeYears Logo"
class="masthead-logo"
/>
<h1 class="masthead-title">TenWholeYears</h1>