summaryrefslogtreecommitdiff
path: root/lib/aggiedit_web/endpoint.ex
diff options
context:
space:
mode:
authorLogan Hunt <loganhunt@simponic.xyz>2022-04-14 13:56:10 -0600
committerLogan Hunt <loganhunt@simponic.xyz>2022-04-14 13:56:10 -0600
commitdb7c2321cd0af59f9e810e84c7d4eb83ec416458 (patch)
tree2e559978cd4c7b4585c1c36e2cf8642aac94bd2b /lib/aggiedit_web/endpoint.ex
parentcc58a376a94c28532121fca2e1ab1d0e7de11046 (diff)
downloadaggiedit-db7c2321cd0af59f9e810e84c7d4eb83ec416458.tar.gz
aggiedit-db7c2321cd0af59f9e810e84c7d4eb83ec416458.zip
Add initial channels for posts
Diffstat (limited to 'lib/aggiedit_web/endpoint.ex')
-rw-r--r--lib/aggiedit_web/endpoint.ex2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/aggiedit_web/endpoint.ex b/lib/aggiedit_web/endpoint.ex
index 95577f0..d431553 100644
--- a/lib/aggiedit_web/endpoint.ex
+++ b/lib/aggiedit_web/endpoint.ex
@@ -12,6 +12,8 @@ defmodule AggieditWeb.Endpoint do
socket "/live", Phoenix.LiveView.Socket, websocket: [connect_info: [session: @session_options]]
+ socket "/socket", AggieditWeb.UserSocket, websocket: [connect_info: [session: @session_options]], longpoll: false
+
# Serve at "/" the static files from "priv/static" directory.
#
# You should set gzip to true if you are running phx.digest