mirror of
https://github.com/Luzifer/ots.git
synced 2025-07-20 05:10:04 -04:00
add cfg option DefaultSecretExpire
This commit is contained in:
parent
a3554d3551
commit
4042cd065f
4 changed files with 30 additions and 19 deletions
|
@ -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 }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue