diff options
author | lain <lain@soykaf.club> | 2018-11-03 13:38:01 +0100 |
---|---|---|
committer | lain <lain@soykaf.club> | 2018-11-03 13:38:01 +0100 |
commit | e954cfcc2c9e9b36bf31dc0bdbc90b1f8a2d47ce (patch) | |
tree | f3bd88c56ec967b4e3e77cae9552cc402dec0a39 /lib | |
parent | 4bcdbb12a40049ca4504602ffcf3e1e95455706b (diff) | |
download | pleroma-e954cfcc2c9e9b36bf31dc0bdbc90b1f8a2d47ce.tar.gz |
Add CORSPlug to make web-based OAuth easier.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/web/endpoint.ex | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/pleroma/web/endpoint.ex b/lib/pleroma/web/endpoint.ex index 955bd61f3..6673ab576 100644 --- a/lib/pleroma/web/endpoint.ex +++ b/lib/pleroma/web/endpoint.ex @@ -56,6 +56,7 @@ defmodule Pleroma.Web.Endpoint do extra: "SameSite=Strict" ) + plug(CORSPlug) plug(Pleroma.Web.Router) @doc """ |