Skip to content

Commit

Permalink
Update FeaturedCard.js
Browse files Browse the repository at this point in the history
thanks panagiotis!!

Co-Authored-By: Παναγιώτης Γεωργακόπουλος <[email protected]>
  • Loading branch information
fonsp and pankgeorg committed Oct 30, 2023
1 parent 27a49bd commit 8c72c63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/components/welcome/FeaturedCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export const FeaturedCard = ({ entry, source_manifest, direct_html_links, disabl
disable_ui: `true`,
name: title == null ? null : `sample ${title}`,
pluto_server_url: `.`,
// little monkey patch because we don't want to use the slider server when for the CDN source, only for the featured.plutojl.org source. But both sources have the same pluto_export.json so this is easiest.
// Little monkey patch because we don't want to use the slider server when for the CDN source, only for the featured.plutojl.org source. But both sources have the same pluto_export.json so this is easiest.
slider_server_url: source_url?.includes("cdn.jsdelivr.net/gh/JuliaPluto/featured") ? null : u(source_manifest?.slider_server_url),
})

Expand Down

0 comments on commit 8c72c63

Please sign in to comment.