Browse Source

fix: also add nonce in admin layout

master
Inhji Y. 10 months ago
parent
commit
05bb3d3df4
  1. 2
      apps/tomie_web/lib/tomie_web/templates/layout/root.html.leex

2
apps/tomie_web/lib/tomie_web/templates/layout/root.html.leex

@ -4,6 +4,8 @@
<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta name="csp-nonce" content="__n0nc3__">
<%= live_title_tag assigns[:page_title] || "Home", suffix: " · Tomie" %>
<link rel="stylesheet" href="<%= Routes.static_path(@conn, "/css/app.css") %>"/>
<link rel="apple-touch-icon" sizes="180x180" href="<%= Routes.static_path(@conn, "/images/apple-touch-icon.png") %>">

Loading…
Cancel
Save