Skip to content

Commit

Permalink
trying to fix the websocket origin problem
Browse files Browse the repository at this point in the history
  • Loading branch information
d-led committed Mar 10, 2022
1 parent 6ccfa58 commit 66678ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/prod.exs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ config :dzen, DzenWeb.Endpoint,
server: true,
# Needed for Phoenix 1.2 and 1.4. Doesn't hurt for 1.3.
http: [port: {:system, "PORT"}],
url: [scheme: "https", host: "red-dark-honeyeater.gigalixirapp.com", port: 443]
url: [scheme: "https", host: "red-dark-honeyeater.gigalixirapp.com", port: 443],
check_origin: ["https://red-dark-honeyeater.gigalixirapp.com"]


# Do not print debug messages in production
Expand Down

0 comments on commit 66678ad

Please sign in to comment.