Skip to content

Commit

Permalink
Include content type header on home page
Browse files Browse the repository at this point in the history
Closes #158
  • Loading branch information
benbusby committed Mar 6, 2024
1 parent ee11e28 commit cd84021
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/farside/router.ex
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ defmodule Farside.Router do
services: Farside.get_services_map()
)

send_resp(conn, 200, resp)
put_resp_header(conn, "content-type", "text/html")
|> send_resp(200, resp)
end

match "/_/:service/*glob" do
Expand Down

0 comments on commit cd84021

Please sign in to comment.