fix longpoll

This commit is contained in:
Graham McIntire 2025-07-05 14:06:16 -05:00
parent f47b3d9f09
commit 0ef1fb9e28
No known key found for this signature in database
2 changed files with 4 additions and 1 deletions

View file

@ -13,7 +13,9 @@ defmodule AprsmeWeb.Endpoint do
same_site: "Lax"
]
socket "/live", Phoenix.LiveView.Socket, websocket: [connect_info: [session: @session_options]]
socket "/live", Phoenix.LiveView.Socket,
websocket: [connect_info: [session: @session_options]],
longpoll: [connect_info: [session: @session_options]]
# Serve at "/" the static files from "priv/static" directory.
#

View file

@ -212,6 +212,7 @@ defmodule AprsmeWeb.InfoLive.Show do
defp get_other_ssids(callsign) do
import Ecto.Query
alias Aprsme.Packet
alias Aprsme.Repo
# Extract base callsign from the full callsign (remove SSID if present)