This commit is contained in:
cdle
2021-10-02 20:46:02 +08:00
parent 9f74bbc4ff
commit 52b562d3a8
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -11,6 +11,9 @@ func init() {
var Tail = "--来自sillyGirl,傻妞技术交流群654346133。"
func RunServer() {
if sillyGirl.GetBool("enable_http_server", false) == false {
return
}
Server.GET("/", func(c *gin.Context) {
c.String(200, Tail)
})