Send frontend through phoenix.

This commit is contained in:
Roger Braun 2017-04-19 15:25:18 +02:00
commit 9167a2ebe3
2 changed files with 13 additions and 0 deletions

View file

@ -9,6 +9,9 @@ defmodule Pleroma.Web.Endpoint do
# when deploying your static files in production.
plug Plug.Static,
at: "/media", from: "uploads", gzip: false
plug Plug.Static,
at: "/", from: :pleroma,
only: ~w(index.html static)
# Code reloading can be explicitly enabled under the
# :code_reloader configuration of your endpoint.