This commit is contained in:
@@ -20,6 +20,11 @@ defmodule ProviderServiceWeb.Endpoint do
|
||||
plug(Plug.MethodOverride)
|
||||
plug(Plug.Head)
|
||||
plug(Plug.Session, @session_options)
|
||||
plug(CORSPlug)
|
||||
|
||||
plug(CORSPlug,
|
||||
origin: ["*"],
|
||||
headers: ["*"]
|
||||
)
|
||||
|
||||
plug(ProviderServiceWeb.Router)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user