Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

fix cors config & update helmet #92

Merged
merged 2 commits into from
Nov 7, 2017

Conversation

bryanchriswhite
Copy link
Contributor

No description provided.

Copy link
Contributor

@phutchins phutchins left a comment

Choose a reason for hiding this comment

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

I'd like to test through our SDK as we run in production mode there and use self signed certs without a storj.io domain. Could we add an ENV var to override the corsRegex if it exists?

lib/engine.js Outdated
origin: true,
credentials: true
}));
app.use(crossorigin());
Copy link
Contributor

Choose a reason for hiding this comment

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

corsOptions should go here

@braydonf braydonf merged commit 3670c60 into storj-archived:master Nov 7, 2017
@storj-archived storj-archived deleted a comment from coveralls Nov 7, 2017
@storj-archived storj-archived deleted a comment from coveralls Nov 7, 2017
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.

None yet

3 participants