index: update patched CSS path

pull/4/head
Piotr Dobrowolski 2021-05-26 20:40:01 +02:00
rodzic 582d6010c7
commit acab743209
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -151,7 +151,7 @@ window.requestAnimationFrame(animate_tick);
try {
if (window.location.protocol !== 'data:') {
window.location = 'data:text/html;base64,' + btoa(document.documentElement.innerHTML
.replace('="common.css"', '="' + new URL('common.css', window.location.href).href + '"')
.replace('="css/common.css"', '="' + new URL('css/common.css', window.location.href).href + '"')
.replace('__START_ORIGIN__', window.location.href));
}
} catch (err) {}