boston-library / commonwealth-vlr-engine

Commonwealth-VLR-Engine is a Rails engine for creating Blacklight apps that provide access to content from Solr/Fedora, packaging a number of feature-rich enhancements and modifications.
Apache License 2.0
8 stars 2 forks source link

allow CORS for JSON API requests #138

Closed ebenenglish closed 3 months ago

ebenenglish commented 3 months ago

Similar to the code in bpl-mapportal, we should allow cross-origin requests for the application's JSON API (catalog#show and catalog#index).

See:

Add these to lib/commonwealth-vlr-engine/controller_override.rb

ebenenglish commented 3 months ago

Fixed via #139