@ -17,7 +17,8 @@ async function cacheFirst(request) {
if (request.url.includes('/-/frame')) {
const url = new URL(request.url)
if (url.pathname === '/-/frame') {
const {html, csp} = url.searchParams
const html = url.searchParams.get('html')
const csp = url.searchParams.get('csp')
return new Response(html, {
headers: {
'Content-Type': 'text/html',