diff --git a/astro.config.mjs b/astro.config.mjs index 2a1c436..5e05ed3 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -17,5 +17,5 @@ export default defineConfig({ }, integrations: [react()], - adapter: cloudflare({ workerEntryPoint: { path: "./src/worker.ts" } }) + adapter: cloudflare() }); \ No newline at end of file diff --git a/wrangler.jsonc b/wrangler.jsonc index b9dbd88..aa4699b 100644 --- a/wrangler.jsonc +++ b/wrangler.jsonc @@ -1,5 +1,5 @@ { - "main": "./src/worker.ts", + "main": "dist/_worker.js/index.js", "name": "trackflow", "compatibility_date": "2024-09-23", "compatibility_flags": [