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> <tr><td>
<form method="post"> <form method="post">
<table> <table>
<tr><td>
Введите токен:
</td></tr>
<tr><td> <tr><td>
<textarea id="wrapped_token" name="input_token" cols=50 rows=10>{{ .TEXT }}</textarea> <textarea id="wrapped_token" name="input_token" cols=50 rows=10>{{ .TEXT }}</textarea>
</td></tr> </td></tr>

View File

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