application.conf 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # https://www.playframework.com/documentation/latest/Configuration
  2. # Secret key
  3. # ~~~~~
  4. # The secret key is used to secure cryptographics functions.
  5. # If you deploy your application to several instances be sure to use the same key!
  6. #play.crypto.secret="CHANGEME!"
  7. # The application languages
  8. # ~~~~~
  9. play.i18n.langs=["en"]
  10. # Database configuration
  11. # ~~~~~
  12. # You can declare as many datasources as you want.
  13. # By convention, the default datasource is named `default`
  14. #
  15. db.default.driver=org.h2.Driver
  16. db.default.url="jdbc:h2:mem:users"
  17. mongo.user="application"
  18. mongo.password="test"
  19. mongo.ssl=false
  20. fdc.apikey="0Ky5r8VEcd0v9z4eJsNZoDNguKWzGZ0iCo4RpOJN"
  21. # Filters
  22. # ~~~~~
  23. play.filters.enabled=[
  24. "play.filters.cors.CORSFilter",
  25. "play.filters.headers.SecurityHeadersFilter",
  26. # "play.filters.hosts.AllowedHostsFilter",
  27. "play.filters.csrf.CSRFFilter"
  28. ]
  29. play.filters.cors {
  30. pathPrefixes = ["/"]
  31. #allowedOrigins = ["http://localhost:9000"]
  32. allowedOrigins = null
  33. }
  34. play.filters.csrf {
  35. bypassCorsTrustedOrigins = true
  36. }
  37. # Modules
  38. # ~~~~~
  39. #play.modules.enabled += "play.modules.swagger.SwaggerModule"