Skip to content

Commit b35d740

Browse files
committed
Send index response page as text/plain document
1 parent d9a4ff5 commit b35d740

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

lib/ff_bot/server/router.ex

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@ defmodule FFBot.Server.Router do
5353
uptime: #{upt}
5454
"""
5555

56-
send_resp(conn, 200, body)
56+
conn
57+
|> put_resp_header("content-type", "text/plain")
58+
|> send_resp(200, body)
5759
end
5860

5961
# Entrypoint for content coming from GitHub.

0 commit comments

Comments
 (0)