mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-12-15 20:56:35 +08:00
优化代码
This commit is contained in:
@@ -142,5 +142,5 @@ func (this *ComponentsAction) RunGet(params struct{}) {
|
||||
componentsDataSum = fmt.Sprintf("%x", h.Sum(nil))
|
||||
this.AddHeader("ETag", "\""+componentsDataSum+"\"")
|
||||
|
||||
this.Write(componentsData)
|
||||
_, _ = this.Write(componentsData)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user