mirror of
https://github.com/gitpitch/gitpitch.git
synced 2024-04-18 07:30:55 +08:00
Add 127.0.0.1 to allowed hosts (easier for development)
This commit is contained in:
parent
d8fc417d76
commit
e17eefd60d
|
@ -238,7 +238,7 @@ play.filters {
|
||||||
|
|
||||||
# The allowed origins. If null, all origins are allowed.
|
# The allowed origins. If null, all origins are allowed.
|
||||||
#allowedOrigins = ["http://www.example.com"]
|
#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
|
# The allowed HTTP methods. If null, all methods are allowed
|
||||||
#allowedHttpMethods = ["GET", "POST"]
|
#allowedHttpMethods = ["GET", "POST"]
|
||||||
|
@ -291,7 +291,7 @@ play.filters {
|
||||||
# This is useful to prevent cache poisoning attacks.
|
# This is useful to prevent cache poisoning attacks.
|
||||||
hosts {
|
hosts {
|
||||||
# Allow requests to example.com, its subdomains, and localhost:9000.
|
# Allow requests to example.com, its subdomains, and localhost:9000.
|
||||||
#allowed = [".example.com", "localhost:9000"]
|
allowed = ["localhost", "127.0.0.1", ".local"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user