mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-25 03:00:25 +08:00
优化代码
This commit is contained in:
@@ -34,7 +34,7 @@ func (this *ComponentsAction) RunGet(params struct{}) {
|
||||
|
||||
if !Tea.IsTesting() && len(componentsData) > 0 {
|
||||
this.AddHeader("Last-Modified", "Fri, 06 Sep 2019 08:29:50 GMT")
|
||||
this.Write(componentsData)
|
||||
_, _ = this.Write(componentsData)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user