Skip to content

Commit

Permalink
Merge pull request #600 from sul-dlss/cbeer-patch-1
Browse files Browse the repository at this point in the history
Point directly at the embed sever
  • Loading branch information
corylown authored Jul 18, 2022
2 parents 2df8e59 + ed37dc1 commit bffe320
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ purl_resource:

embed:
url: 'https://purl.stanford.edu/%{druid}'
url_template: 'https://purl.stanford.edu/embed{.format}{?url*,application_options*}'
url_template: 'https://embed.stanford.edu/embed{.format}{?url*,application_options*}'
iframe:
url_template: 'https://embed.stanford.edu/iframe/{?url*}'
application_options:
Expand Down
2 changes: 1 addition & 1 deletion spec/views/purl/_embed.html.erb_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
render
expect(rendered).to have_selector '.purl-embed-viewer'
embed = Nokogiri::HTML(rendered).css('.purl-embed-viewer')
expect(embed.attr('data-oembed-provider').to_s).to eq 'https://purl.stanford.edu/embed.json?hide_title=true&hide_metadata=true'
expect(embed.attr('data-oembed-provider').to_s).to eq 'https://embed.stanford.edu/embed.json?hide_title=true&hide_metadata=true'
end

it 'display a non-javascript fallback' do
Expand Down

0 comments on commit bffe320

Please sign in to comment.