summaryrefslogtreecommitdiff
path: root/lib/pleroma/web/plug.ex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pleroma/web/plug.ex')
-rw-r--r--lib/pleroma/web/plug.ex8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/pleroma/web/plug.ex b/lib/pleroma/web/plug.ex
new file mode 100644
index 000000000..840b35072
--- /dev/null
+++ b/lib/pleroma/web/plug.ex
@@ -0,0 +1,8 @@
+# Pleroma: A lightweight social networking server
+# Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
+# SPDX-License-Identifier: AGPL-3.0-only
+
+defmodule Pleroma.Web.Plug do
+ # Substitute for `call/2` which is defined with `use Pleroma.Web, :plug`
+ @callback perform(Plug.Conn.t(), Plug.opts()) :: Plug.Conn.t()
+end