From e17eefd60d6edaf78e6ad464aa9cdccfc055f6ed Mon Sep 17 00:00:00 2001 From: Matthias Kurz Date: Thu, 27 Apr 2017 14:06:06 +0200 Subject: [PATCH] Add 127.0.0.1 to allowed hosts (easier for development) --- conf/application.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/application.conf b/conf/application.conf index bcd7046..e55b89f 100644 --- a/conf/application.conf +++ b/conf/application.conf @@ -238,7 +238,7 @@ play.filters { # The allowed origins. If null, all origins are allowed. #allowedOrigins = ["http://www.example.com"] - allowedOrigins = [".gitpitch.com", "localhost:9000"] + allowedOrigins = [".gitpitch.com", "localhost:9000", "127.0.0.1:9000"] # The allowed HTTP methods. If null, all methods are allowed #allowedHttpMethods = ["GET", "POST"] @@ -291,7 +291,7 @@ play.filters { # This is useful to prevent cache poisoning attacks. hosts { # Allow requests to example.com, its subdomains, and localhost:9000. - #allowed = [".example.com", "localhost:9000"] + allowed = ["localhost", "127.0.0.1", ".local"] } }