Cleaned code
This commit is contained in:
@@ -12,8 +12,5 @@ func HandleIndex(c *gin.Context) {
|
||||
if baseURL == "" {
|
||||
baseURL = "http://localhost:8080"
|
||||
}
|
||||
|
||||
c.HTML(http.StatusOK, "index.html", gin.H{
|
||||
"BaseURL": baseURL,
|
||||
})
|
||||
c.HTML(http.StatusOK, "index.html", gin.H{"BaseURL": baseURL})
|
||||
}
|
||||
Reference in New Issue
Block a user