Update
This commit is contained in:
parent
aac9bcb6e4
commit
3f329cf59e
13 changed files with 191 additions and 119 deletions
|
@ -2,12 +2,12 @@ defmodule NullaWeb.Router do
|
|||
use NullaWeb, :router
|
||||
|
||||
pipeline :browser do
|
||||
plug :accepts, ["html", "activity+json", "ld+json"]
|
||||
plug :accepts, ["html", "json", "activity+json", "ld+json"]
|
||||
plug :fetch_session
|
||||
plug :fetch_live_flash
|
||||
plug :put_root_layout, html: {NullaWeb.Layouts, :root}
|
||||
plug :protect_from_forgery
|
||||
plug :put_secure_browser_headers
|
||||
# plug :protect_from_forgery
|
||||
# plug :put_secure_browser_headers
|
||||
end
|
||||
|
||||
pipeline :api do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue