Static Asset - Override Headers
Hi all,
I have a scenario in which I want to host part of the website from Cloudflare Static Assets, part from origin server. Additionally for a scenario in which I serve static html pages from Cloudflare Static Assets, I want to dynamically set http headers based on some query parameters.
I see 2 issues here:
1) If Static Assets is serving file, I can's see my worker logs via Cloudflare Dashboard,
2) It seems that I am unable to modify headers of the response from
Am I missing something? Or is this a limitation?
I have a scenario in which I want to host part of the website from Cloudflare Static Assets, part from origin server. Additionally for a scenario in which I serve static html pages from Cloudflare Static Assets, I want to dynamically set http headers based on some query parameters.
I see 2 issues here:
1) If Static Assets is serving file, I can's see my worker logs via Cloudflare Dashboard,
2) It seems that I am unable to modify headers of the response from
await env.ASSETS.fetch(path)Am I missing something? Or is this a limitation?