Browse Source

fix: also add nonce in admin layout

tags/v0.76.1
Inhji Y. 3 weeks ago
parent
commit
05bb3d3df4
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      apps/tomie_web/lib/tomie_web/templates/layout/root.html.leex

+ 2
- 0
apps/tomie_web/lib/tomie_web/templates/layout/root.html.leex View File

@@ -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