Compare commits

..

5 Commits

Author SHA1 Message Date
httpjamesm 95df8a715b feat: version 1.3.4 2022-12-29 14:54:13 -05:00
httpjamesm f2b369b2c6 fix: remove length requirement 2022-12-29 14:54:05 -05:00
httpjamesm 17a8c6b1e1 feat: version 1.3.3 2022-12-29 14:47:16 -05:00
httpjamesm be9380ba20 fix: allow backwards compatibility with older threads 2022-12-29 14:47:07 -05:00
httpjamesm e4d429b642 fix: set action to / for conversion 2022-12-29 14:46:47 -05:00
3 changed files with 2 additions and 11 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
package config
var Version = "1.3.2"
var Version = "1.3.4"
-9
View File
@@ -25,15 +25,6 @@ func ViewQuestion(c *gin.Context) {
client := resty.New()
questionId := c.Param("id")
if len(questionId) < 8 {
c.HTML(400, "home.html", gin.H{
"errorMessage": "Invalid question ID",
"theme": c.MustGet("theme").(string),
"version": config.Version,
})
return
}
if _, err := strconv.Atoi(questionId); err != nil {
c.HTML(400, "home.html", gin.H{
"errorMessage": "Invalid question ID",
+1 -1
View File
@@ -40,7 +40,7 @@
<p><b>Error</b>: {{ .errorMessage }}</p>
</div>
{{end}} {{ end }}
<form method="POST">
<form method="POST" action="/">
<div class="view-form">
<input
class="view-input"