Add CORSPlug to make web-based OAuth easier.

This commit is contained in:
lain 2018-11-03 13:38:01 +01:00
commit e954cfcc2c
3 changed files with 4 additions and 1 deletions

View file

@ -56,6 +56,7 @@ defmodule Pleroma.Web.Endpoint do
extra: "SameSite=Strict"
)
plug(CORSPlug)
plug(Pleroma.Web.Router)
@doc """