Add the configuration for wallaby.

This commit is contained in:
2024-09-06 12:54:20 +03:00
parent ddf54a9264
commit 9e22e1bfde
3 changed files with 12 additions and 2 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ defmodule LinkShortenerWeb.Endpoint do
]
socket "/live", Phoenix.LiveView.Socket,
websocket: [connect_info: [session: @session_options]],
websocket: [connect_info: [:user_agent, session: @session_options]],
longpoll: [connect_info: [session: @session_options]]
# Serve at "/" the static files from "priv/static" directory.