Jason Schwarzenberger 11 months ago
parent
commit
5d024a38aa
1 changed files with 1 additions and 0 deletions
  1. 1 0
      scripts/lazyload.js

+ 1 - 0
scripts/lazyload.js

@@ -36,6 +36,7 @@ window.addEventListener('DOMContentLoaded', function () {
 		const url = new URL(decodeURIComponent(probably));
 		e.setAttribute('lazy', src);
 		if (url) {
+			url.protocol = 'https';
 			e.setAttribute('src', url.toString());
 		}
 	})