Commit 61d57038 authored by Jens-Christian Fischer's avatar Jens-Christian Fischer
Browse files

Allow `img` directory to be served

parent 8eefbba2
...@@ -9,7 +9,7 @@ defmodule Grains.Endpoint do ...@@ -9,7 +9,7 @@ defmodule Grains.Endpoint do
# when deploying your static files in production. # when deploying your static files in production.
plug Plug.Static, plug Plug.Static,
at: "/", from: :grains, gzip: false, at: "/", from: :grains, gzip: false,
only: ~w(css fonts images js favicon.ico robots.txt index.html) only: ~w(css fonts images img js favicon.ico robots.txt index.html)
# Code reloading can be explicitly enabled under the # Code reloading can be explicitly enabled under the
# :code_reloader configuration of your endpoint. # :code_reloader configuration of your endpoint.
......
...@@ -3,7 +3,7 @@ defmodule Grains.Mixfile do ...@@ -3,7 +3,7 @@ defmodule Grains.Mixfile do
def project do def project do
[app: :grains, [app: :grains,
version: "0.0.105", version: "0.0.106",
elixir: "~> 1.2", elixir: "~> 1.2",
elixirc_paths: elixirc_paths(Mix.env), elixirc_paths: elixirc_paths(Mix.env),
compilers: [:phoenix, :gettext] ++ Mix.compilers, compilers: [:phoenix, :gettext] ++ Mix.compilers,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment