Last active
April 26, 2019 12:05
-
-
Save cybrox/9b2e0ee3337b4940afb95c292973a7f4 to your computer and use it in GitHub Desktop.
phx-stat1.ex
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule PhxstaticWeb.Router do | |
use PhxstaticWeb, :router | |
pipeline :static do | |
plug Plug.Static, | |
at: "/static", | |
from: {:phxstatic, "priv/test"} | |
end | |
scope "/", PhxstaticWeb do | |
scope "/static" do | |
pipe_through :static | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment