Related Issue
Supports Consensys/web3studio-website#9
Related PRs
This PR is not dependent on any other PR
What does this PR do?
It maps redirect origin responses back to the requested host path.
This came about as, after deploying to web3studio.eth.soy/web3studio, it would redirect to /ipfs/QmcipiBV7vkJoJuL72yedJ4yWAUhRSDF6itvkvGKyLYPje/web3studio/ instead of /web3studio/ like expected. This should fix that.
Description of Changes
Added an origin-response lambda and cached on host as well as the origin-response contributes to what gets cached. Don't want to redirect poorly!
What gif most accurately describes how I feel towards this PR?
Related Issue
Supports Consensys/web3studio-website#9
Related PRs
This PR is not dependent on any other PR
What does this PR do?
It maps redirect origin responses back to the requested host path.
This came about as, after deploying to
web3studio.eth.soy/web3studio
, it would redirect to/ipfs/QmcipiBV7vkJoJuL72yedJ4yWAUhRSDF6itvkvGKyLYPje/web3studio/
instead of/web3studio/
like expected. This should fix that.Description of Changes
Added an origin-response lambda and cached on host as well as the origin-response contributes to what gets cached. Don't want to redirect poorly!
What gif most accurately describes how I feel towards this PR?