Use lowercase header name

This commit is contained in:
José Valim 2022-02-04 21:44:56 +01:00 committed by GitHub
parent 8943ad3a48
commit 270573d2e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,7 +3,7 @@ defmodule LivebookWeb.HealthController do
def index(conn, _params) do
conn
|> put_resp_header("Access-Control-Allow-Origin", "*")
|> put_resp_header("access-control-allow-origin", "*")
|> json(%{
"application" => "livebook"
})