Is there a way to set a custom response header?

I'm trying to use a webworker, and I see this error when I do:
const worker = new Worker('/worker.js')
CleanShot_2023-04-16_at_12.35.332x.png
Was this page helpful?