Fix font paths

This commit is contained in:
Daniel
2024-07-22 16:04:35 +02:00
parent 6179f0e021
commit 617694ed95
3 changed files with 98 additions and 98 deletions

View File

@@ -60,9 +60,9 @@ if (document.addEventListener) {
let linkTag = document.createElement("link");
linkTag.rel = "stylesheet";
linkTag.href = "/assets/vendor/fonts/roboto.css";
linkTag.href = "/assets/fonts/roboto.css";
if (navigator.platform.startsWith("Win")) {
linkTag.href = "/assets/vendor/fonts/roboto-slimfix.css"
linkTag.href = "/assets/fonts/roboto-slimfix.css"
}
document.head.appendChild(linkTag);