News for hackers. Stuff that matters.
Re:You don't need that CORS request by forty on Monday January 10, 2022 @03:04AM (#29871814)
My understanding is that you would need to rewrite the url and update the origin.

I could be wrong as I did this lambda@edge a while ago, but the main difference between the two request event is that viewer request is done in all cases, while origin request is done only in case of cache miss.

[EDIT] you are right, updating the origin is indeed something that cannot be done on the viewer side. My bad, I should have checked earlier.

There are no comments on this comment yet.