Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
pepite committed Sep 2, 2024
1 parent 0ad8ec2 commit 8ac0f60
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions conf/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,33 +10,22 @@ 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 {
allowed = [
"localhost:9000",
"127.0.0.1:8080",
"localhost:8080",
".lunatech.com",
]
# 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"]
}
play.filters.enabled += "play.filters.cors.CORSFilter"
play.filters.cors {
allowedOrigins = [
"https://lunatech.com",
"https://www.lunatech.com",
"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"
play.ws.cache.enabled = true
play.ws.timeout.request = 360s
play.ws.timeout.idle = 360s

include "overrides.conf"

0 comments on commit 8ac0f60

Please sign in to comment.