page(threat-hunting): "Rundll32 Scheduled Task"
[curben-blog.git] / functions / images / [[catchall]].js
blob47792cb24a0f0b02081d5be05969e5ca6728805f
1 export async function onRequestGet (context) {
2 const { pathname } = new URL(context.request.url)
3 const imageURL = new URL(pathname, 'https://mdleom.com')
4 const headers = new Headers(context.request.headers)
5 headers.set('Host', 'mdleom.com')
6 const imageRequest = new Request(imageURL, {
7 headers
8 })
9 return fetch(imageRequest)