kian
03/27/2023, 8:25 PMkian
03/27/2023, 8:25 PMWilliam.
03/28/2023, 12:44 PMsilentdevnull
03/28/2023, 1:03 PMWalshy | Pages
03/28/2023, 1:44 PMfunctions/_middleware.js
work?William.
03/28/2023, 1:44 PMWalshy | Pages
03/28/2023, 1:44 PMWilliam.
03/28/2023, 1:45 PMWalshy | Pages
03/28/2023, 1:45 PMWilliam.
03/28/2023, 1:45 PMWilliam.
03/28/2023, 1:46 PMWalshy | Pages
03/28/2023, 1:49 PMWilliam.
03/28/2023, 1:51 PMMichael-V
03/28/2023, 2:41 PMhanpolo
03/28/2023, 6:32 PMDani Foldi
03/28/2023, 6:34 PMPagesFunction
that gets one argument that receives an EventContext
, which contains the ExecutionContext
hanpolo
03/28/2023, 6:35 PMDani Foldi
03/28/2023, 6:36 PMexport const onRequest: PagesFunction = (context) => { ... }
, it pickes up argument and return types automaticallyDani Foldi
03/28/2023, 6:36 PMhanpolo
03/28/2023, 6:38 PMbotabit
03/28/2023, 7:49 PMTransforming async functions to the configured target environment ("es5") is not supported yet
botabit
03/28/2023, 7:50 PMbotabit
03/28/2023, 7:52 PM/*
maps to SPA 1 but I want to map /spa2/*
to SPA 2HardAtWork
03/28/2023, 7:53 PMbotabit
03/28/2023, 7:53 PMbotabit
03/28/2023, 7:53 PMHardAtWork
03/28/2023, 7:54 PMfunctions
folderbotabit
03/28/2023, 7:55 PM/dist
during the build step?HardAtWork
03/28/2023, 7:56 PMsyon
03/28/2023, 8:40 PMonRequest
method.
I noticed you use onRequestPost
do all https request methods work like this
Can I export onRequestGet, onRequestPost, and onRequest all in the same route.
Would onRequest get everything or would the more specific one win.
Is there a place where everything available from cloudflair in pages functions is documented
For example waitUntil kv d1 etc.
I noticed here
I need a list of modules to import and their interfaces. or available functions that can be exported. If there is a spec doc for the routing naming that might be nice.
Or something if anyone has that in a project somewhere 🙂
Let me know what you have found