Skip to content

Commit

Permalink
Merge pull request #130 from mlibrary/bug-attack-prevented-by-rack
Browse files Browse the repository at this point in the history
Adding `set` to resolve: `web_1  | W, [2024-07-31T15:53:28.302636 #1]  WARN -- : attack prevented by Rack::Protection::JsonCsrf`
  • Loading branch information
erinesullivan authored Aug 1, 2024
2 parents bbbd90e + cbab716 commit 2d18039
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions catalog-browse.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
require_relative "lib/models/datastores"

set :logger, S.logger
set :protection, except: [:json_csrf]

CatalogSolrClient.configure do |config|
config.solr_url = S.biblio_solr
Expand Down

0 comments on commit 2d18039

Please sign in to comment.