fix: Safari issues reported by Wojciech Nawrocki

main
Henrik Böving 2022-07-22 17:27:35 +02:00
parent 5a65c64d4c
commit 19ee7dfd97
2 changed files with 2 additions and 2 deletions

View File

@ -224,7 +224,7 @@ def baseHtmlHeadDeclarations : BaseHtmlM (Array Html) := do
<link rel="stylesheet" href={s!"{←getRoot}style.css"}/>,
<link rel="stylesheet" href={s!"{←getRoot}src/pygments.css"}/>,
<link rel="shortcut icon" href={s!"{←getRoot}favicon.ico"}/>,
<link rel="prefetch" href={s!"{←getRoot}/declarations/declaration-data.bmp"}/>
<link rel="prefetch" href={s!"{←getRoot}/declarations/declaration-data.bmp"} as="image"/>
]
end DocGen4.Output

View File

@ -10,7 +10,7 @@ def find : BaseHtmlM Html := do
pure
<html lang="en">
<head>
<link rel="preload" href={s!"{←getRoot}/declarations/declaration-data.bmp"}/>
<link rel="preload" href={s!"{←getRoot}/declarations/declaration-data.bmp"} as="image"/>
<script>{s!"const SITE_ROOT={String.quote (←getRoot)};"}</script>
<script type="module" async="true" src="./find.js"></script>
</head>