Skip to content

Commit 9ab01e5

Browse files
Merge pull request #15 from coveo/fix-stylesheet-error
Fixed stylesheet error
2 parents 5422187 + 45f7039 commit 9ab01e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/scripts/update_package.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def update_index_page
2929
stylesheet = doc.xpath("//link").first
3030
script_cdn['src'] = "https://static.cloud.coveo.com/atomic/" + "#{version_stripped}" + "/atomic.esm.js"
3131
# at the time of making this, stylesheets are not being versioned in CDN so latest is always safest bet
32-
stylesheet['href'] = "https://static.cloud.coveo.com/atomic/latest/themes/coveo.css"
32+
stylesheet['href'] = "https://static.cloud.coveo.com/atomic/v2/themes/coveo.css"
3333
doc.xpath("//script").each do |script|
3434
if script.to_s == '<script nomodule src="/build/atomic.js"></script>'
3535
script.remove

0 commit comments

Comments
 (0)