diff --git a/api.go b/api.go index 549ef22..eb1332f 100644 --- a/api.go +++ b/api.go @@ -46,6 +46,7 @@ func SetupRouter() *gin.Engine { // 前端入口 r.GET("/", func(c *gin.Context) { c.File("./static/index.html") + c.String(200, "frpc-console 后端已启动 🚀") }) return r diff --git a/frpc-console.db b/frpc-console.db index 5a5e8df..46870f9 100644 Binary files a/frpc-console.db and b/frpc-console.db differ diff --git a/frpc.toml b/frpc.toml new file mode 100644 index 0000000..4ffcb92 --- /dev/null +++ b/frpc.toml @@ -0,0 +1,18 @@ +serverAddr = "frp.whitetop.xyz" +serverPort = 9358 + +[auth] +token = "Lxh10020328" + +[log] +to = "./frpc.log" +level = "info" +maxDays = 3 + +[transport] +tcpMux = true +tcpMuxKeepaliveInterval = 30 +heartbeatInterval = 15 +heartbeatTimeout = 70 +poolCount = 8 +