Skip to content
Snippets Groups Projects
Commit 7c8c6bbe authored by Felipe D'Abrantes's avatar Felipe D'Abrantes
Browse files

Disable Allowed Hosts filter from the feed-service

parent dfddf351
No related branches found
No related tags found
1 merge request!32Google Cloud Deployment
......@@ -32,8 +32,8 @@ play.filters.enabled += play.filters.cors.CORSFilter
# play.filters.cors.allowedOrigins = ["localhost:9000"]
# play.filters.cors.allowedHttpMethods = ["GET", "POST"]
# Allow incoming requests from any host
play.filters.hosts.allowed = ["*"]
# Disable Allowed Hosts filter
play.filters.disabled += play.filters.hosts.AllowedHostsFilter
# Use a custom error handler to not return HTML views
play.http.errorHandler = "models.CustomErrorHandler"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment