Fix favicon and add to index.html
authorKANEKO Yoshitaka <info@mevo.xyz>
Sun, 25 Mar 2018 10:58:12 +0000 (19:58 +0900)
committerKANEKO Yoshitaka <info@mevo.xyz>
Sun, 25 Mar 2018 10:58:12 +0000 (19:58 +0900)
lib/pleroma/web/endpoint.ex
priv/static/index.html

index 93b37dc74faf2654031cd281a66abc8cf111a88c..1703d5623f579395523a82b2a6dd905e62dbee30 100644 (file)
@@ -14,7 +14,7 @@ defmodule Pleroma.Web.Endpoint do
     at: "/media", from: "uploads", gzip: false
   plug Plug.Static,
     at: "/", from: :pleroma,
-    only: ~w(index.html static finmoji emoji packs sounds images instance sw.js)
+    only: ~w(index.html static finmoji emoji packs sounds images instance sw.js favicon.png)
 
   # Code reloading can be explicitly enabled under the
   # :code_reloader configuration of your endpoint.
index fb0621cdaa9c6aff4d85e6477d0bcf2630aadcff..d1852ccd7cbd7d7c894c448ba210d45092d8ff17 100644 (file)
@@ -1 +1 @@
-<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><title>Pleroma</title><link rel=stylesheet href=/static/font/css/fontello.css><link rel=stylesheet href=/static/font/css/animation.css><link href=/static/css/app.b3deb1dd44970d86cc6b368f36fd09d9.css rel=stylesheet></head><body style="display: none"><div id=app></div><script type=text/javascript src=/static/js/manifest.3c5e98c3cfe783fc8685.js></script><script type=text/javascript src=/static/js/vendor.6ceb4478f308829a2829.js></script><script type=text/javascript src=/static/js/app.bbd8264f40c00162ae60.js></script></body></html>
\ No newline at end of file
+<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><title>Pleroma</title><link rel="icon" type="image/png" href="/favicon.png"/><link rel=stylesheet href=/static/font/css/fontello.css><link rel=stylesheet href=/static/font/css/animation.css><link href=/static/css/app.b3deb1dd44970d86cc6b368f36fd09d9.css rel=stylesheet></head><body style="display: none"><div id=app></div><script type=text/javascript src=/static/js/manifest.3c5e98c3cfe783fc8685.js></script><script type=text/javascript src=/static/js/vendor.6ceb4478f308829a2829.js></script><script type=text/javascript src=/static/js/app.bbd8264f40c00162ae60.js></script></body></html>