Upgrade to use latest Sentry
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -2,9 +2,9 @@ defmodule Mobilizon.Web.Endpoint do
|
||||
@moduledoc """
|
||||
Endpoint for Mobilizon app
|
||||
"""
|
||||
use Sentry.PlugCapture
|
||||
use Phoenix.Endpoint, otp_app: :mobilizon
|
||||
use Absinthe.Phoenix.Endpoint
|
||||
use Sentry.Phoenix.Endpoint
|
||||
|
||||
plug(Mobilizon.Web.Plugs.SetLocalePlug)
|
||||
plug(Mobilizon.Web.Plugs.HTTPSecurityPlug)
|
||||
@@ -82,4 +82,6 @@ defmodule Mobilizon.Web.Endpoint do
|
||||
def websocket_url do
|
||||
String.replace_leading(url(), "http", "ws")
|
||||
end
|
||||
|
||||
plug(Sentry.PlugContext)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user