Improve CORS #91

Closed
MicFin opened this Issue May 31, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@MicFin
Contributor

MicFin commented May 31, 2018

development_client_origin should be set to "http://localhost:7165" instead of using logic to create 7165.

https://git.generalassemb.ly/ga-wdi-boston/rails-api-template/blob/master/config/initializers/cors.rb#L15

Add comments to each line in cors.rb so it is more clear how origin is being checked.

@MicFin MicFin changed the title from Remove unnecessary logic for port to Improve CORS May 31, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment