Sha256: 7245a08832884744c9155cb8032a670d62344df7b3d241dec27b6aa4209c3e16
Contents?: true
Size: 867 Bytes
Versions: 2
Compression:
Stored size: 867 Bytes
Contents
Qa.config do |config| # When enabled, CORS headers will be added to the responses for search and show. `OPTIONS` method will also be supported. # Uncomment one of the lines below to enable or disable CORS headers. This configuration defaults to disabled when not set. # More information on CORS headers at: https://fetch.spec.whatwg.org/#cors-protocol # config.enable_cors_headers # config.disable_cors_headers # Provide a token that allows reloading of linked data authorities through the controller # action '/reload/linked_data/authorities?auth_token=YOUR_AUTH_TOKEN_DEFINED_HERE' without # requiring a restart of rails. By default, reloading through the browser is not allowed # when the token is nil or blank. Change to any string to control who has access to reload. # config.authorized_reload_token = 'YOUR_AUTH_TOKEN_DEFINED_HERE' end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
qa-3.1.0 | lib/generators/qa/install/templates/config/initializers/qa.rb |
qa-3.0.0 | lib/generators/qa/install/templates/config/initializers/qa.rb |