From a54f488c2d624bd95caebdfe0cdf3f728bb86068 Mon Sep 17 00:00:00 2001 From: Andrew Cravenho Date: Thu, 16 Aug 2018 13:19:06 -0400 Subject: [PATCH] Fix real-time events on AWS --- apps/block_scout_web/config/prod.exs | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/block_scout_web/config/prod.exs b/apps/block_scout_web/config/prod.exs index 0a0ef2733e..8404aa7a86 100644 --- a/apps/block_scout_web/config/prod.exs +++ b/apps/block_scout_web/config/prod.exs @@ -17,6 +17,7 @@ config :block_scout_web, BlockScoutWeb.Endpoint, cache_static_manifest: "priv/static/cache_manifest.json", force_ssl: false, secret_key_base: System.get_env("SECRET_KEY_BASE"), + check_origin: ["//*.blockscout.com", "//*.elb.amazonaws.com"], http: [port: System.get_env("PORT")], url: [ scheme: "http",