diff --git a/lib/shift73k_web/endpoint.ex b/lib/shift73k_web/endpoint.ex
index 6afc9ba9..54596874 100644
--- a/lib/shift73k_web/endpoint.ex
+++ b/lib/shift73k_web/endpoint.ex
@@ -23,29 +23,11 @@ defmodule Shift73kWeb.Endpoint do
# 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: true,
- only: ~w(css fonts images js) ++ static_files
+ gzip: (Mix.env() not in [:dev, :test]),
+ only: "priv/static" |> Path.expand() |> File.ls!()
)
# Code reloading can be explicitly enabled under the
diff --git a/lib/shift73k_web/templates/layout/root.html.leex b/lib/shift73k_web/templates/layout/root.html.leex
index 5e83ab33..16d35516 100644
--- a/lib/shift73k_web/templates/layout/root.html.leex
+++ b/lib/shift73k_web/templates/layout/root.html.leex
@@ -6,6 +6,19 @@
<%= csrf_meta_tag() %>
<%= live_title_tag assigns[:page_title] || "", suffix: assigns[:page_title] && " ยท Shift73k" || "Shift73k" %>
+ " as="font" type="font/woff2" crossorigin="anonymous">
+ " as="font" type="font/woff2" crossorigin="anonymous">
+ " as="font" type="font/woff2" crossorigin="anonymous">
+ ">
+ ">
+ ">
+ ">
+ " color="#78868a">
+
+
+
+
+
"/>