Cоlе
01/14/2022, 4:11 AMawait cache.put
. Here's what I get when I comment out the await cache.put
(same with result/without await, but good catch)Cоlе
01/14/2022, 4:18 AMcache.put
is returning the function on its ownCоlе
01/14/2022, 8:09 AMCоlе
01/14/2022, 8:09 AMCоlе
01/14/2022, 8:10 AMCоlе
01/14/2022, 8:11 AMCоlе
01/14/2022, 8:12 AMCоlе
01/14/2022, 8:13 AMCоlе
01/14/2022, 8:13 AMCоlе
01/14/2022, 8:14 AMdom-to-image
except that it doesn't support ES6 modules, so I basically had to rewrite the same program in 2 different formatsCоlе
01/14/2022, 8:15 AMCоlе
01/14/2022, 8:20 AMCоlе
01/14/2022, 8:22 AMCоlе
01/14/2022, 8:32 AMGreg Brimble | Cloudflare Pages
01/14/2022, 11:31 AMGreg Brimble | Cloudflare Pages
01/14/2022, 11:32 AMif (cached === undefined) return cached
Greg Brimble | Cloudflare Pages
01/14/2022, 11:33 AMDomeQ
01/14/2022, 5:22 PMCоlе
01/14/2022, 6:44 PMCоlе
01/14/2022, 6:58 PMCоlе
01/14/2022, 6:59 PMcache.match()
just returns undefinedbsam75
01/14/2022, 11:41 PMpath/to/script.php
can I make a functions route for that? Would it be like /functions/path/to/script.php/index.js
? I think ive tried alot of different routes but havent found the right one yetbsam75
01/14/2022, 11:46 PMCоlе
01/15/2022, 12:39 AMJacob | Pages
01/15/2022, 4:30 PM_worker.js
file in module format?Greg Brimble | Cloudflare Pages
01/15/2022, 6:35 PMCоlе
01/15/2022, 10:15 PMGreg Brimble | Cloudflare Pages
01/15/2022, 10:16 PMCоlе
01/15/2022, 10:18 PMGreg Brimble | Cloudflare Pages
01/15/2022, 10:19 PM