feat: show the instance ID after setup
This commit is contained in:
1 parent
8d88b16f20
commit
ee4dff09c9
3 files changed
+23
-3
No files matched your search
@@ -126,7 +126,11 @@ func HandleBootstrap(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
SetSessionCookie(c, sessionID)
|
||||
c.JSON(http.StatusCreated, gin.H{"instance": inst, "slug": inst.Slug})
|
||||
c.JSON(http.StatusCreated, gin.H{
|
||||
"instance": inst,
|
||||
"slug": inst.Slug,
|
||||
"instance_id": inst.InstanceID,
|
||||
})
|
||||
}
|
||||
|
||||
func HandleMe(c *gin.Context) {
|
||||
|
||||
Reference in new issue
Block a user