What are you trying to achieve or the steps to reproduce?
From API docs:
If set to 'ignore', any incoming Origin header is ignored (present or not) and the 'Access-Control-Allow-Origin' header is set to '*'
I have this in my hapi server configs:
...
routes: {
cors: { origin: 'ignore' },
...
This works fine most of the time

But when a route doesn't exist, the 404 response doesn't include the cors headers.

What did you expect?
I expect to have access-control-allow-origin: * on the 404
Context
- node version: 10
- hapi version: 17.4
- os: Linux
What are you trying to achieve or the steps to reproduce?
From API docs:
I have this in my hapi server configs:
... routes: { cors: { origin: 'ignore' }, ...This works fine most of the time

But when a route doesn't exist, the 404 response doesn't include the cors headers.

What did you expect?
I expect to have
access-control-allow-origin: *on the 404Context