mirror of
https://gitee.com/IrisVega/frp.git
synced 2024-11-01 22:31:29 +08:00
Merge pull request #1087 from fatedier/fix
fix PUT /api/config without token
This commit is contained in:
commit
9737978f28
@ -311,6 +311,8 @@ func (svr *Service) apiPutConfig(w http.ResponseWriter, r *http.Request) {
|
|||||||
newRows = append(newRows, token)
|
newRows = append(newRows, token)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
newRows = tmpRows
|
||||||
}
|
}
|
||||||
content = strings.Join(newRows, "\n")
|
content = strings.Join(newRows, "\n")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user