Polka: cors

Created on 20 May 2018  路  1Comment  路  Source: lukeed/polka

cors...ALL the cors. It's the way of the future. Or it would be if it were documented :-)

question

Most helpful comment

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~!

>All comments

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~!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dasantonym picture dasantonym  路  4Comments

kevinfiol picture kevinfiol  路  3Comments

charleslxh picture charleslxh  路  3Comments

bmcminn picture bmcminn  路  3Comments

motss picture motss  路  4Comments