implement custom favicon

This commit is contained in:
Adam Piontek 2021-03-25 19:11:51 -04:00
parent 3b5794a401
commit 19d9b96a84
15 changed files with 96 additions and 1 deletions
lib/shift73k_web

View file

@ -21,11 +21,31 @@ defmodule Shift73kWeb.Endpoint do
#
# You should set gzip to true if you are running phx.digest
# when deploying your static files in production.
#
# file list generated by simple ls -1 assets/static/ - then copy/paste here
static_files = ~w(
android-chrome-192x192.png
android-chrome-512x512.png
apple-touch-icon.png
browserconfig.xml
favicon-16x16.png
favicon-32x32.png
favicon.ico
mstile-144x144.png
mstile-150x150.png
mstile-310x150.png
mstile-310x310.png
mstile-70x70.png
robots.txt
safari-pinned-tab.svg
site.webmanifest
)
plug(Plug.Static,
at: "/",
from: :shift73k,
gzip: false,
only: ~w(css fonts images js favicon.ico robots.txt)
only: ~w(css fonts images js) ++ static_files
)
# Code reloading can be explicitly enabled under the