Walshy | Pages
04/25/2023, 2:27 PMsathoro
04/25/2023, 2:29 PMWalshy | Pages
04/25/2023, 2:29 PMWalshy | Pages
04/25/2023, 2:29 PMsathoro
04/25/2023, 2:30 PMmbackonja
04/25/2023, 2:30 PMhttps://xxxxxxx.s3.eu-central-1.amazonaws.com/error.html
And my worker is like this
addEventListener('fetch', event => {
event.respondWith(handleRequest(event.request))
})
async function handleRequest(request) {
return await fetch('https://xxxxxxx.s3.eu-central-1.amazonaws.com/error.html')
}
And once I attach Cloudflare Worker to some routes, those routes returns
403 Forbidden
cloudflare
but if I open that worked directly through xxxxx.workers.dev
domain it's working as expected (HTML from S3 bucket is returned)...Walshy | Pages
04/25/2023, 2:30 PMWalshy | Pages
04/25/2023, 2:30 PMsathoro
04/25/2023, 2:30 PMJames
04/25/2023, 2:30 PMsathoro
04/25/2023, 2:31 PMsathoro
04/25/2023, 2:32 PMJames
04/25/2023, 2:32 PMsathoro
04/25/2023, 2:32 PMsathoro
04/25/2023, 2:32 PMsathoro
04/25/2023, 2:32 PMsathoro
04/25/2023, 2:33 PMsathoro
04/25/2023, 2:34 PMsathoro
04/25/2023, 2:35 PMJames
04/25/2023, 2:37 PMmbackonja
04/25/2023, 2:39 PMWalshy | Pages
04/25/2023, 2:39 PMWalshy | Pages
04/25/2023, 2:39 PMmbackonja
04/25/2023, 2:40 PMsathoro
04/25/2023, 2:44 PMJames
04/25/2023, 2:45 PMsathoro
04/25/2023, 2:47 PMinnerText
🤣