diff options
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 |
