1
0
mirror of https://github.com/schollz/cowyo.git synced 2023-08-10 21:13:00 +03:00

used flag for command line arguments

This commit is contained in:
Travis Scholl
2016-02-07 10:15:42 -08:00
parent 8c52173484
commit f0fbd2c30f
3 changed files with 42 additions and 16 deletions

View File

@ -26,7 +26,7 @@ func editNote(c *gin.Context) {
} else {
c.HTML(http.StatusOK, "index.tmpl", gin.H{
"Title": title,
"ExternalIP": ExternalIP,
"ExternalIP": RuntimeArgs.ExternalIP,
})
}
}