文件夹挂载逻辑变动

This commit is contained in:
2026-07-30 00:18:06 +08:00
parent 826ce399e7
commit defc9d00d3
5 changed files with 115 additions and 86 deletions
+2 -1
View File
@@ -399,7 +399,8 @@ func getFrpcStatusHandler(c *gin.Context) {
// ========== 日志 Handler ==========
func getFrpcLogHandler(c *gin.Context) {
lines, err := readTailLog("./frpc.log", 200)
// 从 ./data/frpc.log 读取日志
lines, err := readTailLog("./data/frpc.log", 200)
if err != nil {
c.JSON(http.StatusOK, gin.H{
"code": 0,