We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 127a11d commit bf6d998Copy full SHA for bf6d998
config/runtime.exs
@@ -367,7 +367,7 @@ config :epochtalk_server,
367
Keyword.merge(base_endpoint_config, endpoint_config)
368
369
## Configure corsica
370
-corsica_config =
+corsica_config_origins =
371
case config_env() do
372
:prod ->
373
get_env_or_raise_with_message.(
@@ -379,6 +379,9 @@ corsica_config =
379
)
380
_ -> "*"
381
end
382
+corsica_config = %{
383
+ origins: corsica_config_origins
384
+}
385
386
config :epochtalk_server, :corsica, corsica_config
387
0 commit comments