Larry
03/23/2023, 8:02 PMsilentdevnull
03/23/2023, 9:50 PMNote: No functions dir at /functions found. Skipping.
Page is setup for /output/wwwroot as the build page and I have the functions folder inside of that. Do I have the functions folder in the wrong spot?Walshy | Pages
03/23/2023, 9:53 PMfunctions
dir should be in the rootsilentdevnull
03/23/2023, 10:05 PM/output/wwwroot
/functions
or
/output/wwwroot
/output/functions
Thank youmicromashor
03/23/2023, 10:05 PM/functions
silentdevnull
03/23/2023, 10:36 PMhanpolo
03/25/2023, 8:01 AMMy Account
03/26/2023, 6:44 PMMy Account
03/26/2023, 6:44 PMMy Account
03/26/2023, 6:44 PMMy Account
03/26/2023, 6:44 PMWalshy | Pages
03/26/2023, 6:46 PMGeorgeTailor
03/26/2023, 6:46 PM_middleware
and another function, for example, `api/user`count as two calls in my account limit?Walshy | Pages
03/26/2023, 6:46 PMMy Account
03/26/2023, 6:48 PMMy Account
03/26/2023, 6:48 PMHardAtWork
03/26/2023, 6:50 PMMy Account
03/26/2023, 6:50 PMWalshy | Pages
03/26/2023, 6:50 PMMy Account
03/26/2023, 6:51 PMGeorgeTailor
03/27/2023, 11:46 AMimport htmlTemplate from '../dist/resources/my-template.html
and
const url = new URL(context.request.url);
const templateResult = await context.env.ASSETS.fetch(`${url.origin}/resources/my-template`);
const template = await templateResult.text();
in a Function?GeorgeTailor
03/27/2023, 11:48 AMHardAtWork
03/27/2023, 11:52 AMHardAtWork
03/27/2023, 11:53 AMGeorgeTailor
03/27/2023, 11:53 AMsilentdevnull
03/27/2023, 5:03 PMVero 🐙
03/27/2023, 5:30 PMworkers-rs
) for example supports calling durable objects: https://github.com/cloudflare/workers-rs#durable-object-kv-secret--variable-bindings
There is also an open issue for D1 support: https://github.com/cloudflare/workers-rs/issues/221silentdevnull
03/27/2023, 5:36 PMVero 🐙
03/27/2023, 6:08 PMsilentdevnull
03/27/2023, 7:58 PM