This commit is contained in:
Mirai Kumiko 2025-06-23 09:16:27 +00:00
parent aac9bcb6e4
commit 3f329cf59e
Signed by: miraikumiko
GPG key ID: 3F178B1B5E0CB278
13 changed files with 191 additions and 119 deletions

View file

@ -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