Skip to content

Commit

Permalink
Add :asset_path option
Browse files Browse the repository at this point in the history
  • Loading branch information
zorbash committed Mar 24, 2018
1 parent 9d8c391 commit 09805e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/kitto/router.ex
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ defmodule Kitto.Router do
plug Plug.Static,
at: "assets",
gzip: true,
from: Application.get_env(:kitto, :otp_app)
from: Application.get_env(:kitto, :asset_path) || Application.get_env(:kitto, :otp_app)
end

plug :dispatch
Expand Down

0 comments on commit 09805e4

Please sign in to comment.