vault-wrap: исправление шаблона.

This commit is contained in:
svkalinin 2024-07-11 10:22:30 +03:00
parent 518c90fccb
commit cb4aa3e23c
2 changed files with 3 additions and 2 deletions

View File

@ -14,6 +14,9 @@
<tr><td>
<form method="post">
<table>
<tr><td>
Введите токен:
</td></tr>
<tr><td>
<textarea id="wrapped_token" name="input_token" cols=50 rows=10>{{ .TEXT }}</textarea>
</td></tr>

View File

@ -188,8 +188,6 @@ func getDataFromHtmlForm(w http.ResponseWriter, r *http.Request) {
if Debug {
log.Println(Data)
}
} else {
Data = "Введите токен"
}
getStaticPage(w, r)
// http.Redirect(w, r, "http://"+r.Host, http.StatusMovedPermanently)