diff --git a/lib/pleroma/web/templates/mastodon_api/mastodon/index.html.eex b/lib/pleroma/web/templates/mastodon_api/mastodon/index.html.eex
index d6247c7d8..f96b15d64 100644
--- a/lib/pleroma/web/templates/mastodon_api/mastodon/index.html.eex
+++ b/lib/pleroma/web/templates/mastodon_api/mastodon/index.html.eex
@@ -1,12 +1,12 @@
 <!DOCTYPE html>
 <html lang='en'>
 <head>
-	<title>
-	<%=   Application.get_env(:pleroma, :instance)[:name] %>
-	</title>
+<title>
+<%= Application.get_env(:pleroma, :instance)[:name] %>
+</title>
 <meta charset='utf-8'>
 <meta content='width=device-width, initial-scale=1' name='viewport'>
-<link rel="icon" type="image/png" href="/static/favicon.png"/>
+<link rel="icon" type="image/png" href="/favicon.png"/>
 <link rel="stylesheet" media="all" href="/packs/common.css" />
 <link rel="stylesheet" media="all" href="/packs/default.css" />
 <link rel="stylesheet" media="all" href="/packs/pl-dark-masto-fe.css" />
diff --git a/priv/static/static/favicon.png b/priv/static/favicon.png
similarity index 100%
rename from priv/static/static/favicon.png
rename to priv/static/favicon.png