mschae / cors_plug

An Elixir Plug to add CORS.

Home Page:https://hex.pm/packages/cors_plug

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Access-Control-Allow-Credentials should not be included if set to false

AntoineAugusti opened this issue · comments

According to https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials

If you don't need credentials, omit this header entirely (rather than setting its value to false).