mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-02-17 11:04:22 +01:00
preconnect to cdn host
This commit is contained in:
parent
1d81e35b68
commit
7570f18dcb
1 changed files with 1 additions and 0 deletions
|
@ -10,6 +10,7 @@ html lang="en"
|
||||||
' - Derpibooru
|
' - Derpibooru
|
||||||
- else
|
- else
|
||||||
' Derpibooru
|
' Derpibooru
|
||||||
|
link rel="preconnect" href="https://#{cdn_host()}"
|
||||||
link rel="stylesheet" href=stylesheet_path(@current_user)
|
link rel="stylesheet" href=stylesheet_path(@current_user)
|
||||||
= if is_nil(@current_user) do
|
= if is_nil(@current_user) do
|
||||||
link rel="stylesheet" href=dark_stylesheet_path() media="(prefers-color-scheme: dark)"
|
link rel="stylesheet" href=dark_stylesheet_path() media="(prefers-color-scheme: dark)"
|
||||||
|
|
Loading…
Reference in a new issue