Sha256: 735e45635e003848e53696ac92e437cbc8edea1090ed95ffb7d922a24324227e
Contents?: true
Size: 1.32 KB
Versions: 2
Compression:
Stored size: 1.32 KB
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' # For linked data access, specify default language for sorting and selection. The default is only used if a language is not # specified in the authority's configuration file and not passed in as a parameter. (e.g. :en, [:en], or [:en, :fr]) # config.default_language = :en # When true, prevents ldpath requests from making additional network calls. All values will come from the context graph # passed to the ldpath request. # config.limit_ldpath_to_context = true end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
qa-4.1.1 | lib/generators/qa/install/templates/config/initializers/qa.rb |
qa-4.1.0 | lib/generators/qa/install/templates/config/initializers/qa.rb |