diff --git a/backend-services/feed-service/conf/application.conf b/backend-services/feed-service/conf/application.conf index fefd6654d3f764ca48fea6165663d2b219e94590..7fd8d366175550e4ab708622b3fec0937f273a21 100644 --- a/backend-services/feed-service/conf/application.conf +++ b/backend-services/feed-service/conf/application.conf @@ -24,16 +24,8 @@ user.service.uri = "http://localhost:9000/" # Application Secret Key - https://www.playframework.com/documentation/2.8.x/ApplicationSecret play.http.secret.key="DUvbrcM2AbuB7oXboI1x`ZI_?1Iou>/ch2@lFXfrvVkWlHuA848y?GyR/0i2Ma:A" -# Disable CSRF -play.filters.disabled += play.filters.csrf.CSRFFilter - -# Enable and configure CORS -play.filters.enabled += play.filters.cors.CORSFilter -# play.filters.cors.allowedOrigins = ["localhost:9000"] -# play.filters.cors.allowedHttpMethods = ["GET", "POST"] - -# Disable Allowed Hosts filter -play.filters.disabled += play.filters.hosts.AllowedHostsFilter +# Disable all default filters +play.filters.enabled=[] # Use a custom error handler to not return HTML views play.http.errorHandler = "models.CustomErrorHandler"