Static Assets Support in Workers
In cloudflare workers im doing something like the following to get static assets working with hono those work fine ie .css .js etc files are all routed correctly however for assets that are workers ie im using sqlocal and it needs the following headers
But im not able to modify the raw headers i get a [ERROR] TypeError: Can't modify immutable headers.
Is there a way to set headers for specific style of bundled assets(vite does the bundle)?
1 Reply
Figured out a fix...
Had to create a seprate response type raw and copy over from the fetch as a variable*