lib/stitches/generator_files/config/initializers/stitches.rb in stitches-3.6.1 vs lib/stitches/generator_files/config/initializers/stitches.rb in stitches-3.7.0
- old
+ new
@@ -1,9 +1,9 @@
require 'stitches'
Stitches.configure do |configuration|
# Regexp of urls that do not require ApiKeys or valid, versioned mime types
- configuration.whitelist_regexp = %r{\A/(resque|docs|assets)(\Z|/.*\Z)}
+ configuration.allowlist_regexp = %r{\A/(resque|docs|assets)(\Z|/.*\Z)}
# Name of the custom Authorization scheme. See http://www.ietf.org/rfc/rfc2617.txt for details,
# but generally should be a string with no spaces or special characters.
configuration.custom_http_auth_scheme = "CustomKeyAuth"