Skip to content

Commit

Permalink
fix(background): remove origin from url
Browse files Browse the repository at this point in the history
  • Loading branch information
lss233 committed Jan 1, 2023
1 parent 86357a2 commit f25a1ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/background.inline.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(function () {
let cover_image = window._sys.cover_image;
let cover_image = window._sys.cover_image.replace(window.location.origin, '');
if (window.CDN_URL) {
cover_image = window.CDN_URL + cover_image;
if (document.body.style.backdropFilter === undefined) {
Expand Down

0 comments on commit f25a1ea

Please sign in to comment.