Skip to content

Instantly share code, notes, and snippets.

@thebrianemory
Last active November 3, 2017 14:54
Show Gist options
  • Save thebrianemory/9a9fb4167e947e0dccb0f8e331c1d016 to your computer and use it in GitHub Desktop.
Save thebrianemory/9a9fb4167e947e0dccb0f8e331c1d016 to your computer and use it in GitHub Desktop.
defmodule YourAppWeb.Endpoint do
# Code removed for readability
plug Plug.Static,
at: "/", from: :tilex, gzip: false, # Change this line from :your_app to :tilex as shown
only: ~w(css fonts images js favicon.ico robots.txt)
# Code removed for readability
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment