Skip to content

Conversation

@duytd
Copy link
Contributor

@duytd duytd commented May 27, 2020

This PR makes sure that middleware is added after CypressOnRails.configure is loaded. Now, use_middleware configuration option is not working. If the gem is not configured properly, there will be serious security issue.

See: https://guides.rubyonrails.org/configuring.html#initializers

@grantspeelman
Copy link
Collaborator

thanks @duytd
this should solve #57 as well.

@grantspeelman grantspeelman self-assigned this May 28, 2020
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