From 7570f18dcb21372c82c485aa349e13de92776299 Mon Sep 17 00:00:00 2001 From: Luna D Date: Sat, 22 Jun 2024 19:51:48 +0200 Subject: [PATCH] preconnect to cdn host --- lib/philomena_web/templates/layout/app.html.slime | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/philomena_web/templates/layout/app.html.slime b/lib/philomena_web/templates/layout/app.html.slime index 8fc29580..2a174357 100644 --- a/lib/philomena_web/templates/layout/app.html.slime +++ b/lib/philomena_web/templates/layout/app.html.slime @@ -10,6 +10,7 @@ html lang="en" ' - Derpibooru - else ' Derpibooru + link rel="preconnect" href="https://#{cdn_host()}" link rel="stylesheet" href=stylesheet_path(@current_user) = if is_nil(@current_user) do link rel="stylesheet" href=dark_stylesheet_path() media="(prefers-color-scheme: dark)"