Skip to content

Commit

Permalink
Disable check_origin for prod for now
Browse files Browse the repository at this point in the history
  • Loading branch information
mickel8 committed Dec 12, 2024
1 parent f44c070 commit 7080367
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion broadcaster/config/runtime.exs
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,8 @@ if config_env() == :prod do
ip: {0, 0, 0, 0, 0, 0, 0, 0},
port: port
],
secret_key_base: secret_key_base
secret_key_base: secret_key_base,
check_origin: false

whip_token = System.get_env("WHIP_TOKEN") || raise "Environment variable WHIP_TOKEN is missing."

Expand Down

0 comments on commit 7080367

Please sign in to comment.