From aab7912d7923ce64c9780951cf299f2fb30c137a Mon Sep 17 00:00:00 2001 From: Felipe D'Abrantes <felidabrantes@gmail.com> Date: Thu, 27 Apr 2023 23:14:16 +0100 Subject: [PATCH] Allow incoming requests from any host in the feed service --- backend-services/feed-service/conf/application.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backend-services/feed-service/conf/application.conf b/backend-services/feed-service/conf/application.conf index 9d3697fd..47f205af 100644 --- a/backend-services/feed-service/conf/application.conf +++ b/backend-services/feed-service/conf/application.conf @@ -32,6 +32,9 @@ 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 = ["*"] + # Use a custom error handler to not return HTML views play.http.errorHandler = "models.CustomErrorHandler" -- GitLab