mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 13:47:58 +01:00
remove hostname from serving info
This commit is contained in:
parent
cdc142592a
commit
9a9d000c74
2 changed files with 2 additions and 11 deletions
|
@ -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)
|
||||
|
|
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue