From 9122ba0829d9ada8ab1fb889652805acc3e6a0e9 Mon Sep 17 00:00:00 2001 From: Liam Date: Mon, 3 Jun 2024 09:35:44 -0400 Subject: [PATCH] Missing static paths --- lib/philomena_web.ex | 2 +- lib/philomena_web/templates/layout/app.html.slime | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/philomena_web.ex b/lib/philomena_web.ex index fd16f8ce..eaa5a76a 100644 --- a/lib/philomena_web.ex +++ b/lib/philomena_web.ex @@ -17,7 +17,7 @@ defmodule PhilomenaWeb do and import those modules here. """ - def static_paths, do: ~w(assets favicon.ico favicon.svg robots.txt opensearch.xml) + def static_paths, do: ~w(assets css js favicon.ico favicon.svg robots.txt opensearch.xml) def controller do quote do diff --git a/lib/philomena_web/templates/layout/app.html.slime b/lib/philomena_web/templates/layout/app.html.slime index d7842369..227432e7 100644 --- a/lib/philomena_web/templates/layout/app.html.slime +++ b/lib/philomena_web/templates/layout/app.html.slime @@ -13,9 +13,9 @@ html lang="en" 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)" - link rel="icon" href=~p"/favicon.ico" type="image/x-icon" - link rel="icon" href=~p"/favicon.svg" type="image/svg+xml" - link rel="search" type="application/opensearchdescription+xml" title="Derpibooru" href=~p"/opensearch.xml" + link rel="icon" href="/favicon.ico" type="image/x-icon" + link rel="icon" href="/favicon.svg" type="image/svg+xml" + link rel="search" type="application/opensearchdescription+xml" title="Derpibooru" href="/opensearch.xml" meta name="generator" content="philomena" meta name="theme-color" content="#618fc3" meta name="format-detection" content="telephone=no"