Skip to content

Commit

Permalink
server: Allow to set the app host as the allowed host
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexITC committed Apr 16, 2019
1 parent be415ea commit 67a0e62
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/conf/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ play.i18n.langs = ["en"]

play.filters.hosts {
allowed = ["localhost", "localhost:9000", "127.0.0.1:9000", "10.136.160.52:9000", "10.136.151.203:9000", "10.136.164.36:9000", "10.136.55.244:9000"]
allowed += ${?APP_HOST}
}

play.http {
Expand Down

0 comments on commit 67a0e62

Please sign in to comment.