remove hostname from serving info

This commit is contained in:
byte[] 2020-09-06 16:51:53 -04:00
parent cdc142592a
commit 9a9d000c74
2 changed files with 2 additions and 11 deletions

View file

@ -15,11 +15,8 @@ footer#footer
br br
#serving_info #serving_info
' Powered by the ' Powered by
a href="https://github.com/derpibooru/philomena" philomena project a> href="https://github.com/philomena-dev/philomena" philomena
br
' Served by
=> hostname()
| ( | (
= render_time(@conn) = render_time(@conn)
| ms) | ms)

View file

@ -18,12 +18,6 @@ defmodule PhilomenaWeb.LayoutView do
|> Float.to_string() |> Float.to_string()
end end
def hostname() do
{:ok, host} = :inet.gethostname()
host |> to_string
end
defp ignored_tag_list(nil), do: [] defp ignored_tag_list(nil), do: []
defp ignored_tag_list([]), do: [] defp ignored_tag_list([]), do: []
defp ignored_tag_list([{tag, _body, _dnp_entries}]), do: [tag.id] defp ignored_tag_list([{tag, _body, _dnp_entries}]), do: [tag.id]