We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 986d3e3 commit e9b3e22Copy full SHA for e9b3e22
info.go
@@ -6,9 +6,10 @@ import (
6
7
func infoHandler(c *gin.Context) {
8
c.JSON(200, gin.H{
9
- "http": "http://localhost" + port,
10
- "https": "https://localhost" + portSSL,
11
- "ws": "ws://localhost" + port,
12
- "wss": "wss://localhost" + portSSL,
+ "version": version,
+ "http": "http://localhost" + port,
+ "https": "https://localhost" + portSSL,
+ "ws": "ws://localhost" + port,
13
+ "wss": "wss://localhost" + portSSL,
14
})
15
}
0 commit comments