1
0
Fork 0
mirror of https://github.com/benbusby/farside.git synced 2025-04-19 18:38:42 +00:00

Include content type header on home page

Closes #158
This commit is contained in:
Ben Busby 2024-03-06 09:18:28 -07:00
parent ee11e28b5d
commit cd840214d2
No known key found for this signature in database
GPG key ID: B9B7231E01D924A1

View file

@ -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