aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKANEKO Yoshitaka <info@mevo.xyz>2018-03-25 19:58:12 +0900
committerKANEKO Yoshitaka <info@mevo.xyz>2018-03-25 19:58:12 +0900
commitaa19fdef00839ed28247ece2b875ec635d8079c8 (patch)
tree583930bb28e777552d0e17c5d5dbb7c28ac4d65e
parent47a5cc0dd9a1afeb81a884ee91cab48f97de82f8 (diff)
downloadpleroma-aa19fdef00839ed28247ece2b875ec635d8079c8.tar.gz
Fix favicon and add to index.html
-rw-r--r--lib/pleroma/web/endpoint.ex2
-rw-r--r--priv/static/index.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/pleroma/web/endpoint.ex b/lib/pleroma/web/endpoint.ex
index 93b37dc74..1703d5623 100644
--- a/lib/pleroma/web/endpoint.ex
+++ b/lib/pleroma/web/endpoint.ex
@@ -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.
diff --git a/priv/static/index.html b/priv/static/index.html
index fb0621cda..d1852ccd7 100644
--- a/priv/static/index.html
+++ b/priv/static/index.html
@@ -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>