Skip to content

Commit a79cb9e

Browse files
committed
Dummy configurations for Scrivito
1 parent c753b18 commit a79cb9e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

config/initializers/scrivito.rb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@
55
# If not explicitly set, the tenant and the API key are obtained from the environment variables
66
# SCRIVITO_TENANT and SCRIVITO_API_KEY.
77
#
8-
# config.tenant = 'my-tenant-123'
9-
# config.api_key = 'secret'
10-
#
8+
config.tenant = ENV.fetch('SCRIVITO_TENANT', 'dummy-tenant')
9+
config.api_key = ENV.fetch('SCRIVITO_API_KEY', 'dummy-api-key')
1110

1211
# Disable the default routes to allow route configuration
1312
config.inject_preset_routes = false

0 commit comments

Comments
 (0)