Good point, just `rm -rf .wrangler` ?
Good point, just
rm -rf .wrangler ?rm -rf .wranglerdb.sql that has a drop-table at the start anyway
TypeError: Cannot read properties of undefined (reading 'waitUntil')context is undefined


let cookie = request.headers.get("cookie")let cookie = context.request.headers.get("cookie")./frontend/.[build] section not valid for Pages.

db.sqlTypeError: Cannot read properties of undefined (reading 'waitUntil')let cookie = request.headers.get("cookie")let cookie = context.request.headers.get("cookie")import cloudflare from '@astrojs/cloudflare';
export default defineConfig({
output: 'server',
adapter: cloudflare(),
});./frontend/[build][build]
# command = "npm run build"
cwd = "./frontend/"
watch_dir = "./frontend/"export const onRequestPost: PagesFunction<Env> = async ({ request, env, ctx }) => {
// ...
ctx.waitUntil(myAsyncFunction(env, anId));export const onRequestPost: PagesFunction<Env> = async ({ request, env, waitUntil }) => { const response = await c.env.HUB.fetch(
new Request(new URL('/account/signup', c.req.url), {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ email } as SignupRequest),
}),
);// wrangler.toml
name = "hub"
[[services]]
binding = "HUB"
service = "hub"