Skip to content

Commit

Permalink
Update lib/kino/proxy.ex
Browse files Browse the repository at this point in the history
  • Loading branch information
jonatanklosko authored May 29, 2024
1 parent 38170b0 commit f88c377
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/kino/proxy.ex
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ defmodule Kino.Proxy do
> case Plug.Conn.get_req_header(conn, "authorization") do
> ["Bearer " <> ^api_token] ->
> Plug.Conn.send_resp(conn, 200, "hello")
>
> _ ->
> conn
> |> Plug.Conn.put_resp_header("www-authenticate", "Bearer")
Expand Down

0 comments on commit f88c377

Please sign in to comment.