diff --git a/backend-services/feed-service/conf/application.conf b/backend-services/feed-service/conf/application.conf index 47f205af9bc329308100c411317ec4eeae59ca7d..fefd6654d3f764ca48fea6165663d2b219e94590 100644 --- a/backend-services/feed-service/conf/application.conf +++ b/backend-services/feed-service/conf/application.conf @@ -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"