add cfg option DefaultSecretExpire

This commit is contained in:
David Blattmann 2023-12-15 11:55:09 +01:00
parent a3554d3551
commit 4042cd065f
No known key found for this signature in database
4 changed files with 30 additions and 19 deletions

View file

@ -47,6 +47,8 @@
// Template variable from Golang process
const maxSecretExpire = {{ .MaxSecretExpiry }}
const defaultSecretExpire = {{ .DefaultSecretExpiry }}
const version = "{{ .Version }}"
window.OTSCustomize = JSON.parse('{{ .Customize.ToJSON }}')
window.useFormalLanguage = {{ .Customize.UseFormalLanguage | mustToJson }}