Add 127.0.0.1 to allowed hosts (easier for development)

This commit is contained in:
Matthias Kurz 2017-04-27 14:06:06 +02:00
parent d8fc417d76
commit e17eefd60d
No known key found for this signature in database
GPG Key ID: 0B4AAA92F1117EF5

View File

@ -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"]
}
}