fix longpoll
This commit is contained in:
parent
f47b3d9f09
commit
0ef1fb9e28
2 changed files with 4 additions and 1 deletions
|
|
@ -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.
|
||||
#
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue