From: KANEKO Yoshitaka Date: Sun, 1 Apr 2018 07:58:35 +0000 (+0900) Subject: Fix conflict X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=b3d67750f04d7c72c3e1deeb6df573cbb195146a;p=akkoma Fix conflict --- b3d67750f04d7c72c3e1deeb6df573cbb195146a diff --cc lib/pleroma/web/endpoint.ex index 0a2ac853e,1703d5623..fdf7fb72a --- a/lib/pleroma/web/endpoint.ex +++ b/lib/pleroma/web/endpoint.ex @@@ -11,14 -10,11 +11,14 @@@ defmodule Pleroma.Web.Endpoint d # # You should set gzip to true if you are running phoenix.digest # when deploying your static files in production. - plug Plug.Static, - at: "/media", from: "uploads", gzip: false - plug Plug.Static, - at: "/", from: :pleroma, + plug(Plug.Static, 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.