Remove Sentry

Not used, and it has a quite a few outdated dependencies.
This commit is contained in:
Claudio Ortolina
2024-10-14 18:58:10 +01:00
parent 49f5ae30f2
commit 5e7280176f
7 changed files with 5 additions and 32 deletions
+2 -5
View File
@@ -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