26c438b49d
This records new configs being leveraged
38 lines
632 B
Text
38 lines
632 B
Text
module.exports = phase => {
|
|
return {
|
|
rewrites() {
|
|
return [
|
|
{
|
|
source: '/hello-1',
|
|
destination: '/world'
|
|
},
|
|
{
|
|
source: '/hello-2',
|
|
destination: '/world'
|
|
},
|
|
]
|
|
},
|
|
redirects() {
|
|
return [
|
|
{
|
|
source: '/hello-3',
|
|
destination: '/world',
|
|
permanent: false
|
|
}
|
|
]
|
|
},
|
|
headers() {
|
|
return [
|
|
{
|
|
source: '/hello-4',
|
|
headers: [
|
|
{
|
|
key: 'x-path',
|
|
value: 'hello-4'
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|