cors...ALL the cors. It's the way of the future. Or it would be if it were documented :-)
Polka can't do this for you as it's wildly application specific. You can manually write them via res.setHeader or use third-party, time-tested solutions like cors to handle that for you.
There _is_ an example using cors, but it's not the focus of the example since (again) it's wildly app-dependent.
Hope that helps~!
Most helpful comment
Polka can't do this for you as it's wildly application specific. You can manually write them via
res.setHeaderor use third-party, time-tested solutions likecorsto handle that for you.There _is_ an example using
cors, but it's not the focus of the example since (again) it's wildly app-dependent.Hope that helps~!