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

Enable cors for multiple domains #68

Merged
merged 2 commits into from
May 30, 2016
Merged

Conversation

alicoding
Copy link
Collaborator

No description provided.

@alicoding
Copy link
Collaborator Author

@gideonthomas R?

@@ -13,10 +13,16 @@ var version = require( '../../package.json' ).version,
cors = require( 'cors' ),
oauth = require( './oauth' );

var corsOptions = {
origin: 'http://teach-cms-enabled.herokuapp.com',
var whitelist = config( 'whitelist' );

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add documentation at least to the config/README.md file that tells us to set this whitelist?

@gideonthomas
Copy link

r+ with one small doc issue

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants