mirror of
https://gitee.com/johng/gf
synced 2026-06-07 02:12:11 +08:00
improve export data as hex for gres
This commit is contained in:
@ -284,8 +284,8 @@ func (s *Server) listDir(r *Request, f http.File) {
|
||||
}
|
||||
r.Response.Write(`<tr>`)
|
||||
r.Response.Writef(`<td><a href="%s/%s">%s</a></td>`, r.URL.Path, name, ghtml.SpecialChars(name))
|
||||
r.Response.Writef(`<td style="width:80px;text-align:center;">%s</td>`, size)
|
||||
r.Response.Writef(`<td>%s</td>`, gtime.New(file.ModTime()).ISO8601())
|
||||
r.Response.Writef(`<td style="width:80px;text-align:center;">%s</td>`, size)
|
||||
r.Response.Write(`</tr>`)
|
||||
}
|
||||
r.Response.Write(`</table>`)
|
||||
|
||||
Reference in New Issue
Block a user