-`headers` is an array of header objects with the `key` and `value` properties.
## Header Overriding Behavior
If two headers match the same path and set the same header key, the last header key will override the first. Using the below headers, the path `/hello` will result in the header `x-hello` being `world` due to the last header value set being `world`.
```js
module.exports={
asyncheaders(){
return[
{
source:'/:path*',
headers:[
{
key:'x-hello',
value:'there',
},
],
},
{
source:'/hello',
headers:[
{
key:'x-hello',
value:'world',
},
],
},
],
},
}
```
## Path Matching
Path matches are allowed, for example `/blog/:slug` will match `/blog/hello-world` (no nested paths):