Remove Sentry
Not used, and it has a quite a few outdated dependencies.
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
defmodule MusicLibraryWeb.Endpoint do
|
||||
use Sentry.PlugCapture
|
||||
use Phoenix.Endpoint, otp_app: :music_library
|
||||
|
||||
# The session will be stored in the cookie and signed,
|
||||
@@ -13,8 +12,8 @@ defmodule MusicLibraryWeb.Endpoint do
|
||||
]
|
||||
|
||||
socket "/live", Phoenix.LiveView.Socket,
|
||||
websocket: [connect_info: [:peer_data, :uri, :user_agent, session: @session_options]],
|
||||
longpoll: [connect_info: [:peer_data, :uri, :user_agent, session: @session_options]]
|
||||
websocket: [connect_info: [session: @session_options]],
|
||||
longpoll: [connect_info: [session: @session_options]]
|
||||
|
||||
# Serve at "/" the static files from "priv/static" directory.
|
||||
#
|
||||
@@ -47,8 +46,6 @@ defmodule MusicLibraryWeb.Endpoint do
|
||||
pass: ["*/*"],
|
||||
json_decoder: Phoenix.json_library()
|
||||
|
||||
plug Sentry.PlugContext
|
||||
|
||||
plug Plug.MethodOverride
|
||||
plug Plug.Head
|
||||
plug Plug.Session, @session_options
|
||||
|
||||
Reference in New Issue
Block a user