Skip to content

Commit

Permalink
Cleans up application.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
wjglerum committed Jan 3, 2024
1 parent 80ab018 commit 984d6e3
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions conf/application.conf
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
# https://www.playframework.com/documentation/latest/Configuration

play.http.secret.key="changeme"
play.http.secret.key=${?APPLICATION_SECRET}
play.http.secret.key = "changeme"
play.http.secret.key = ${?APPLICATION_SECRET}
play.filters.enabled += play.filters.hosts.AllowedHostsFilter
play.filters.hosts {
# Allow requests to example.com, its subdomains, and localhost:9000.
allowed = ["localhost:9000","127.0.0.1:8080","localhost:8080", ".lunatech.com", ".lunatech.fr", ".lunatech.nl", ".lunatech.be"]
}
allowed = [
"localhost:9000",
"127.0.0.1:8080",
"localhost:8080",
".lunatech.com",
".lunatech.fr",
".lunatech.nl",
".lunatech.be",
]
}

0 comments on commit 984d6e3

Please sign in to comment.