diff options
| -rw-r--r-- | astro.config.mjs | 1 | ||||
| -rw-r--r-- | wrangler.jsonc | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/astro.config.mjs b/astro.config.mjs index 8293fb2..fc681bf 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -5,5 +5,6 @@ import cloudflare from '@astrojs/cloudflare'; // https://astro.build/config export default defineConfig({ + output: 'server', adapter: cloudflare() });
\ No newline at end of file diff --git a/wrangler.jsonc b/wrangler.jsonc index 9b78a09..f286f23 100644 --- a/wrangler.jsonc +++ b/wrangler.jsonc @@ -1,5 +1,6 @@ { "name": "helloastrocf", + "main": "./dist/_worker.js/index.js", "compatibility_date": "2025-07-10", "compatibility_flags": [ "nodejs_compat" |
