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 36cbaa7 commit b4ecdc5Copy full SHA for b4ecdc5
lib/cadet_web/endpoint.ex
@@ -4,7 +4,7 @@ defmodule CadetWeb.Endpoint do
4
5
plug(
6
Corsica,
7
- origins: Application.compile_env(:cadet, [CadetWeb.Endpoint, :cors_endpoints], "*"),
+ origins: Application.get_env(:cadet, [CadetWeb.Endpoint, :cors_endpoints], "*"),
8
allow_methods: :all,
9
allow_headers: :all,
10
expose_headers: ~w(Content-Length Content-Range),
0 commit comments