| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- # 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
- # play.modules.enabled += "name.tflucke.mongoevolutions.EvolutionsModule"
- # mongodb.evolution.mongoCmd = "/usr/bin/mongo localhost:27017/recipes -u application -p 12345678"
- init.admin.email = "test@test.org"
- init.admin.password = "12345678"
- init.admin.fname = "admin"
- init.admin.lname = "istrator"
- mongo.user="application"
- mongo.password="12345678"
- 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"
|