Skip to content

Commit

Permalink
Re-format config file
Browse files Browse the repository at this point in the history
  • Loading branch information
wjglerum committed Oct 7, 2024
1 parent c5f0fbb commit 69ae2dd
Showing 1 changed file with 23 additions and 3 deletions.
26 changes: 23 additions & 3 deletions conf/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,39 @@ githubBranch = master
githubBranch = ${?github_branch}
blogBackground = "https://lunatech.cdn.prismic.io/lunatech/c01fd6de48c3cdb8bda7247b0b94b84b14f3a488_kevin-horvat-1354011-unsplash.jpg"
blogBackground = ${?blog_background}
play.http.secret.key=${?APPLICATION_SECRET}
play.http.secret.key = ${?APPLICATION_SECRET}
cacheTtl = 3000 days
cacheTtl = ${?cache_ttl}
blogsPerPage = 24
blogsPerPage = ${?blogs_per_page}
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-blog.cleverapps.io","app-4194741b-63fb-4618-b805-ff945b0be7eb.cleverapps.io", ".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",
]
}
play.filters.enabled += "play.filters.cors.CORSFilter"
play.filters.cors {
allowedOrigins = ["https://lunatech.com", "https://www.lunatech.com", "https://acceptance.lunatech.com", "https://lunatech.fr", "https://www.lunatech.fr", "https://acceptance.lunatech.fr", "https://lunatech.nl", "https://www.lunatech.nl", "https://acceptance.lunatech.nl", "https://blog.lunatech.com", "https://blog.acceptance.lunatech.com" ]
allowedOrigins = [
"https://lunatech.com",
"https://www.lunatech.com",
"https://acceptance.lunatech.com",
"https://lunatech.fr",
"https://www.lunatech.fr",
"https://acceptance.lunatech.fr",
"https://lunatech.nl",
"https://www.lunatech.nl",
"https://acceptance.lunatech.nl",
"https://blog.lunatech.com",
"https://blog.acceptance.lunatech.com",
]
}
trustxforwarded = true
play.modules.enabled += "modules.StartModule"
Expand Down

0 comments on commit 69ae2dd

Please sign in to comment.