From 3299f44b1730a05db7bed0fef2baafa39032bf54 Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Thu, 10 Jul 2025 13:43:26 +0200 Subject: Fix locals ref --- astro.config.mjs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'astro.config.mjs') diff --git a/astro.config.mjs b/astro.config.mjs index fc681bf..a66a98c 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -6,5 +6,10 @@ import cloudflare from '@astrojs/cloudflare'; // https://astro.build/config export default defineConfig({ output: 'server', - adapter: cloudflare() + adapter: cloudflare({ + workerEntryPoint: { + path: 'src/worker.ts', + namedExports: ['CounterDurableObject'] + } + }) }); \ No newline at end of file -- cgit v1.3.1