Could be. I am not sure what sets that context variable. Could be Nuxt since I have no other CF spec
Could be. I am not sure what sets that context variable. Could be Nuxt since I have no other CF specific modules installed
damn. if i connect via git is direct upload still an option or is it one or the other?



workerd runtime appropriately

static/* assets on pages stops working and doesn't work until I login to CF dashboard > re-deploy the project. Any suggestion will be really apprecaited.

pages.dev domain into the Pages Worker, so the hash will still match.workerdstatic/*const cacheTtlByStatus = {
'200-299': 86400,
404: 5,
'500-599': 0,
};
app.get(`${WEBSITE_URL}/static/*`, async (ctx) => {
return await ctx.env.ASSETS.fetch(ctx.req.raw, {
cf: {
cacheTtlByStatus: cacheTtlByStatus,
},
});
});pages.devimport {
CfProperties,
Request,
ExecutionContext,
R2Bucket,
} from '@cloudflare/workers-types/experimental';
declare module 'h3' {
interface H3EventContext {
cf: CfProperties;
cloudflare: {
request: Request;
env: {
STORAGE_BUCKET: R2Bucket;
};
context: ExecutionContext;
};
}
}