Render errors in HTML, not with JS.

This commit is contained in:
Phil Hagelberg 2019-11-05 22:00:19 -08:00
commit b0080fa730
3 changed files with 10 additions and 3 deletions

View file

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1,minimal-ui" />
<title><%= Pleroma.Config.get([:instance, :name]) %></title>
<%= Phoenix.HTML.raw(@meta || "") %>
<%= Phoenix.HTML.raw(assigns[:meta] || "") %>
<link rel="stylesheet" href="/static/static-fe.css">
</head>
<body>