Scala-Play-Slick-Demo/conf/application.conf

22 lines
529 B
Plaintext
Raw Normal View History

2020-05-16 10:10:23 +00:00
http.port=8080
myapp = {
database = {
numThreads=20
maxConnections=20
}
}
play.filters.enabled += "play.filters.cors.CORSFilter"
play.modules.enabled += "org.flywaydb.play.PlayModule"
db.default.driver=${myapp.database.driver}
db.default.url=${myapp.database.url}
db.default.username=${myapp.database.user}
db.default.password=${myapp.database.password}
play.filters.cors {
allowedHttpMethods = ["GET", "POST", "OPTION"]
allowedHttpHeaders = ["Accept"]
preflightMaxAge = 3 days
2020-05-16 10:10:23 +00:00
}