Guest User

Untitled

a guest
Jan 20th, 2019
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. defmodule ChatWeb.Router do
  2. use ChatWeb, :router
  3.  
  4. pipeline :browser do
  5. plug :accepts, ["html"]
  6. plug :fetch_session
  7. plug :fetch_flash
  8. plug :protect_from_forgery
  9. plug :put_secure_browser_headers
  10. end
  11.  
  12. scope "/", ChatWeb do
  13. pipe_through :browser # Use the default browser stack
  14.  
  15. get "/*path", PageController, :index
  16. end
  17. end
Add Comment
Please, Sign In to add comment