Merge branch 'develop' into refactor/gun-pool-registry
[akkoma] / lib / pleroma / plugs / trailing_format_plug.ex
index ce366b2183dccfc0a9a73cdc7607a84f70094af5..8b4d5fc9fe29eb3f022c67bea1427d8e07d45cbb 100644 (file)
@@ -1,5 +1,5 @@
 # Pleroma: A lightweight social networking server
-# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
 # SPDX-License-Identifier: AGPL-3.0-only
 
 defmodule Pleroma.Plugs.TrailingFormatPlug do
@@ -24,7 +24,8 @@ defmodule Pleroma.Plugs.TrailingFormatPlug do
     "/api/help",
     "/api/externalprofile",
     "/notice",
-    "/api/pleroma/emoji"
+    "/api/pleroma/emoji",
+    "/api/oauth_tokens"
   ]
 
   def init(opts) do