2020-05-16 10:10:23 +00:00
|
|
|
http.port=8080
|
|
|
|
myapp = {
|
|
|
|
database = {
|
|
|
|
|
|
|
|
numThreads=20
|
|
|
|
maxConnections=20
|
|
|
|
}
|
2020-08-22 10:48:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
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
|
|
|
}
|