Skip to content

Conversation

jlpiedrahita
Copy link
Contributor

Since 1.1.1 options to the middleware are passed as an object. This is not reflected in the main README file where for instance allowInsecureHTTP is still passed as an standalone boolean:

var allowInsecureHTTP = false
var dashboard = new ParseDashboard({
	// Parse Dashboard settings
}, allowInsecureHTTP);

Where the sample code should be in the form:

var options = { allowInsecureHTTP: false };
var dashboard = new ParseDashboard({
	// Parse Dashboard settings
}, options);

The lack of this update was driving me crazy for a couple of hours. Hope this help others.

@flovilmart flovilmart merged commit cc78438 into parse-community:master Nov 8, 2017
@flovilmart
Copy link
Contributor

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants