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 6f36329 commit 50a64c6Copy full SHA for 50a64c6
explorer/lib/explorer_web/router.ex
@@ -29,6 +29,7 @@ defmodule ExplorerWeb.Router do
29
end
30
31
pipeline :api do
32
+ plug CORSPlug, origin: "*"
33
plug :accepts, ["json"]
34
35
explorer/mix.exs
@@ -62,7 +62,8 @@ defmodule Explorer.MixProject do
62
{:postgrex, ">= 0.0.0"},
63
{:cachex, "~> 3.6"},
64
{:mutex, "~> 2.0"},
65
- {:tails, "~> 0.1.5"}
+ {:tails, "~> 0.1.5"},
66
+ {:cors_plug, "~> 3.0"},
67
]
68
69
0 commit comments