This commit is contained in:
@@ -1,7 +1,8 @@
|
|||||||
# Secrets Management Tool (SMT)
|
# Secrets Management Tool (SMT)
|
||||||
|
|
||||||
Build Date: {BUILDTIME}
|
Build Date: `{BUILDTIME}`
|
||||||
Build Hash: {SHA1VER}
|
|
||||||
|
Build Hash: `{SHA1VER}`
|
||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
|
|
||||||
|
@@ -1,7 +1,8 @@
|
|||||||
<h1>Secrets Management Tool (SMT)</h1>
|
<h1>Secrets Management Tool (SMT)</h1>
|
||||||
|
|
||||||
<p>Build Date: {BUILDTIME}
|
<p>Build Date: <code>{BUILDTIME}</code></p>
|
||||||
Build Hash: {SHA1VER}</p>
|
|
||||||
|
<p>Build Hash: <code>{SHA1VER}</code></p>
|
||||||
|
|
||||||
<h2>Overview</h2>
|
<h2>Overview</h2>
|
||||||
|
|
||||||
|
2
main.go
2
main.go
@@ -65,7 +65,7 @@ func staticFileServer(content embed.FS) gin.HandlerFunc {
|
|||||||
|
|
||||||
// parse the file and perform text replacements as necessary
|
// parse the file and perform text replacements as necessary
|
||||||
for key, element := range replacements {
|
for key, element := range replacements {
|
||||||
log.Printf("Searching for '%s' to replace\n", key)
|
//log.Printf("Searching for '%s' to replace\n", key)
|
||||||
data = bytes.Replace(data, []byte(key), []byte(element), -1)
|
data = bytes.Replace(data, []byte(key), []byte(element), -1)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user