Compare commits
No commits in common. "fa75483cb389a44a5e7785e9c2122f1d5fe323e5" and "8e1b3eaec97cadb44f7838a406f53d8251fe7e59" have entirely different histories.
fa75483cb3
...
8e1b3eaec9
4
main.go
4
main.go
|
@ -317,10 +317,6 @@ func main() {
|
||||||
c.String(200, "Burgernotes Version 2.0 Beta 1")
|
c.String(200, "Burgernotes Version 2.0 Beta 1")
|
||||||
})
|
})
|
||||||
|
|
||||||
router.GET("/api/versionjson", func(c *gin.Context) {
|
|
||||||
c.JSON(200, gin.H{"name": "Burgernotes", "versiontxt": "Version 2.0 Beta 1", "versionsem": "2.0.0b1", "versionnum": "200"})
|
|
||||||
})
|
|
||||||
|
|
||||||
router.POST("/api/signup", func(c *gin.Context) {
|
router.POST("/api/signup", func(c *gin.Context) {
|
||||||
var data map[string]interface{}
|
var data map[string]interface{}
|
||||||
err := c.ShouldBindJSON(&data)
|
err := c.ShouldBindJSON(&data)
|
||||||
|
|
Loading…
Reference in New Issue