Skip to content

Commit

Permalink
Temporarily disable WS origin checking
Browse files Browse the repository at this point in the history
  • Loading branch information
jerodsanto committed Oct 2, 2023
1 parent 467875a commit 2e36c52
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/changelog_web/endpoint.ex
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ defmodule ChangelogWeb.Endpoint do
]

socket "/live", Phoenix.LiveView.Socket,
websocket: [check_origin: :conn, connect_info: [session: @session_options]]
websocket: [
check_origin: false,
connect_info: [session: @session_options]]

socket "/socket", ChangelogWeb.UserSocket,
# or list of options
Expand Down

0 comments on commit 2e36c52

Please sign in to comment.