I use Corsica and the syntax is
plug Corsica, origins: "http://localhost:8080", allow_headers: :all
I don’t know about cors plug, but it seems You are missing the headers part.
I use Corsica and the syntax is
plug Corsica, origins: "http://localhost:8080", allow_headers: :all
I don’t know about cors plug, but it seems You are missing the headers part.