Closed torloneg closed 5 years ago
I'm trying to use mapUri to set an element in the header but the process comes out without a particular error. Removing the block the code runs
The error is :
Failed to load h2o2
node -v v12.6.0
'handler': { 'proxy': { mapUri: function (request) {
console.log('doing some additional stuff before redirecting'); return { uri: 'https://some.upstream.service.com/' }; }, 'onResponse': onResponse,
This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.
I'm trying to use mapUri to set an element in the header but the process comes out without a particular error. Removing the block the code runs
The error is :
node -v v12.6.0
'handler': { 'proxy': { mapUri: function (request) {