projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
timeline controller: rate limit timelines to 3 requests per 500ms per timeline per...
[akkoma]
/
lib
/
pleroma
/
plugs
/
federating_plug.ex
diff --git
a/lib/pleroma/plugs/federating_plug.ex
b/lib/pleroma/plugs/federating_plug.ex
index e7dfda29551eec39fe90a19f61488a19997f4696..4dc4e927920a9f55af1dbdadbecaf3a442d310e1 100644
(file)
--- a/
lib/pleroma/plugs/federating_plug.ex
+++ b/
lib/pleroma/plugs/federating_plug.ex
@@
-1,5
+1,5
@@
# Pleroma: A lightweight social networking server
# Pleroma: A lightweight social networking server
-# Copyright © 2017-201
8
Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-201
9
Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.FederatingPlug do
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.FederatingPlug do
@@
-10,7
+10,7
@@
defmodule Pleroma.Web.FederatingPlug do
end
def call(conn, _opts) do
end
def call(conn, _opts) do
- if
Keyword.get(Application.get_env(:pleroma, :instance), :federating
) do
+ if
Pleroma.Config.get([:instance, :federating]
) do
conn
else
conn
conn
else
conn