From b26c794c3b4f8a5ec7892c512193f11656264814 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Sat, 13 Oct 2018 09:44:12 +0200 Subject: fix favicon --- shardweb/lib/endpoint.ex | 2 +- shardweb/lib/templates/layout/app.html.eex | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'shardweb/lib') diff --git a/shardweb/lib/endpoint.ex b/shardweb/lib/endpoint.ex index fb8a48f..bc75357 100644 --- a/shardweb/lib/endpoint.ex +++ b/shardweb/lib/endpoint.ex @@ -9,7 +9,7 @@ defmodule ShardWeb.Endpoint do # when deploying your static files in production. plug Plug.Static, at: "/", from: :shardweb, gzip: false, - only: ~w(css fonts font-awesome images js favicon.ico robots.txt) + only: ~w(css fonts font-awesome images js favicon.ico favicon.png robots.txt) # Code reloading can be explicitly enabled under the # :code_reloader configuration of your endpoint. diff --git a/shardweb/lib/templates/layout/app.html.eex b/shardweb/lib/templates/layout/app.html.eex index 9c5a358..c6ebcd2 100644 --- a/shardweb/lib/templates/layout/app.html.eex +++ b/shardweb/lib/templates/layout/app.html.eex @@ -11,6 +11,10 @@ Shard. + " /> + " type="image/png" /> + + " rel="stylesheet"> -- cgit v1.2.3