Add security HTTP headers (#45)

This commit is contained in:
Vic Demuzere 2021-09-26 16:47:25 +02:00 committed by GitHub
parent 9ad6d468fd
commit 14b5801f37
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 34 additions and 20 deletions

View file

@ -41,9 +41,7 @@
document.addEventListener('DOMContentLoaded', () => window.refreshTheme())
// Template variable from Golang process
{{- range $key, $value := .Vars }}
const {{ $key }} = "{{ $value }}"
{{- end }}
const version = "{{ .Version }}"
</script>
</head>
<body>