Skip to content
This repository has been archived by the owner on Aug 19, 2022. It is now read-only.

Commit

Permalink
Explicitly add 'org' header for CORS
Browse files Browse the repository at this point in the history
  • Loading branch information
dberesford committed Oct 12, 2017
1 parent 55767b4 commit cd03f64
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/server/index.js
Expand Up @@ -11,7 +11,9 @@ server.connection({
port: Number(config.get('hapi.port')),
host: config.get('hapi.host'),
routes: {
cors: true
cors: {
additionalHeaders: ['org']
}
}
})

Expand Down

0 comments on commit cd03f64

Please sign in to comment.