We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c753b18 commit a79cb9eCopy full SHA for a79cb9e
config/initializers/scrivito.rb
@@ -5,9 +5,8 @@
5
# If not explicitly set, the tenant and the API key are obtained from the environment variables
6
# SCRIVITO_TENANT and SCRIVITO_API_KEY.
7
#
8
- # config.tenant = 'my-tenant-123'
9
- # config.api_key = 'secret'
10
- #
+ config.tenant = ENV.fetch('SCRIVITO_TENANT', 'dummy-tenant')
+ config.api_key = ENV.fetch('SCRIVITO_API_KEY', 'dummy-api-key')
11
12
# Disable the default routes to allow route configuration
13
config.inject_preset_routes = false
0 commit comments