mirror of
https://github.com/Luzifer/ots.git
synced 2025-08-02 19:26:20 -04:00
Add security HTTP headers (#45)
This commit is contained in:
parent
9ad6d468fd
commit
14b5801f37
2 changed files with 34 additions and 20 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue