# https://www.playframework.com/documentation/latest/Configuration # Secret key # ~~~~~ # The secret key is used to secure cryptographics functions. # If you deploy your application to several instances be sure to use the same key! #play.crypto.secret="CHANGEME!" # The application languages # ~~~~~ play.i18n.langs=["en"] # Database configuration # ~~~~~ # You can declare as many datasources as you want. # By convention, the default datasource is named `default` # db.default.driver=org.h2.Driver db.default.url="jdbc:h2:mem:users" oauth.dev = true init.admin.email = "test@test.org" init.admin.password = "12345678" init.admin.fname = "admin" init.admin.lname = "istrator" mongo.user="application" mongo.password="test" mongo.ssl=false fdc.apikey="0Ky5r8VEcd0v9z4eJsNZoDNguKWzGZ0iCo4RpOJN" # Filters # ~~~~~ play.filters.enabled=[ "play.filters.cors.CORSFilter", "play.filters.headers.SecurityHeadersFilter", # "play.filters.hosts.AllowedHostsFilter", "play.filters.csrf.CSRFFilter" ] play.filters.cors { pathPrefixes = ["/"] #allowedOrigins = ["http://localhost:9000"] allowedOrigins = null } play.filters.csrf { bypassCorsTrustedOrigins = true } # Modules # ~~~~~ #play.modules.enabled += "play.modules.swagger.SwaggerModule"