Drop unused nonce

parent b9211ab5
......@@ -7,7 +7,6 @@ import (
......@@ -165,7 +164,6 @@ func (s *Server) handlerStatus(c *gin.Context) {
c.HTML(http.StatusOK, "status", gin.H{
"Title": "status",
"Description": "Status information.",
"Nonce": secure.CSPNonce(c),
"StatusTab": true,
"PageStartTime": pageStartTime,
"Services": services,
......@@ -11,7 +11,7 @@
<meta name="theme-color" content="#151515">
<style rel="stylesheet" type="text/css">{{ css }}</style>
{{ if .StatusTab }}<link rel="stylesheet" type="text/css" href="/css/status.css" nonce="{{ .Nonce }}">{{ end }}
{{ if .StatusTab }}<link rel="stylesheet" type="text/css" href="/css/status.css">{{ end }}
<link rel="icon" type="image/png" href="/img/favicon.ico">
<link rel="icon" type="image/png" href="/img/favicon-16x16.png" sizes="16x16">
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment