Add CORSPlug to make web-based OAuth easier.
This commit is contained in:
parent
4bcdbb12a4
commit
e954cfcc2c
3 changed files with 4 additions and 1 deletions
|
|
@ -56,6 +56,7 @@ defmodule Pleroma.Web.Endpoint do
|
|||
extra: "SameSite=Strict"
|
||||
)
|
||||
|
||||
plug(CORSPlug)
|
||||
plug(Pleroma.Web.Router)
|
||||
|
||||
@doc """
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue