Skip to content

Commit

Permalink
CORS Filter is no longer needed due to introduce frontend HTTP server…
Browse files Browse the repository at this point in the history
… (nginx)
  • Loading branch information
nacam403 committed Oct 22, 2017
1 parent ae80f1b commit af57bd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scala-todo-rest-api/conf/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ play.filters {

# Enabled filters are run automatically against Play.
# CSRFFilter, AllowedHostFilters, and SecurityHeadersFilters are enabled by default.
enabled += "play.filters.cors.CORSFilter"
#enabled += "play.filters.cors.CORSFilter"

# Disabled filters remove elements from the enabled list.
#disabled += filters.ExampleFilters
Expand Down

0 comments on commit af57bd3

Please sign in to comment.