diff options
| author | Yuval Adam <_@yuv.al> | 2025-07-10 13:43:26 +0200 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2025-07-10 13:43:26 +0200 |
| commit | 3299f44b1730a05db7bed0fef2baafa39032bf54 (patch) | |
| tree | cba13bedae0ff3daaaece4b6cc12068afd67b7d2 /astro.config.mjs | |
| parent | aec2c16d8cd3748d2ce694b76f868243f7ff88af (diff) | |
Fix locals ref
Diffstat (limited to 'astro.config.mjs')
| -rw-r--r-- | astro.config.mjs | 7 |
1 files changed, 6 insertions, 1 deletions
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 |
