Small typo in this:
https://docs.layer0.co/docs/api/core/classes/router_responsewriter.responsewriter.html#addresponsecookie
This
new Router()
.get('/some/path', ({ addUpstreamResponseCookie, proxy }) => {
proxy('origin')
addResponseCookie('my-cookie', 'my-cookie-value')
})
Should be
new Router()
.get('/some/path', ({ addResponseCookie, proxy }) => {
proxy('origin')
addResponseCookie('my-cookie', 'my-cookie-value')
})
Wasn’t sure where to post this, let me know if this is not the correct platform.