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
#serving_info
' Powered by the
a href="https://github.com/derpibooru/philomena" philomena project
br
' Served by
=> hostname()
' Powered by
a> href="https://github.com/philomena-dev/philomena" philomena
| (
= render_time(@conn)
| ms)

View file

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