Skip to content

CORS headers to include 'Origin' #2894

@nettaru

Description

@nettaru

Safari is sending 'Origin' in its headers, and therefor is denied by hapi, which makes the OPTIONS request to fail and return 404:
screen shot 2015-11-02 at 15 46 10

need to add 'Origin' to the allowed headers to fix the issue:
https://github.com/hapijs/hapi/blob/master/lib/defaults.js#L86

Metadata

Metadata

Assignees

Labels

bugBug or defect

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions