mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
Merge 5a981f0327 into cdf5982cfc
This commit is contained in:
commit
0d7ba5b5a5
1 changed files with 1 additions and 2 deletions
|
|
@ -427,8 +427,7 @@ func (s *Server) handleDirectUpload(r *http.Request, mw *api.ManifestWriter) err
|
||||||
Path: GetURI(r.Context()).Path,
|
Path: GetURI(r.Context()).Path,
|
||||||
ContentType: r.Header.Get("Content-Type"),
|
ContentType: r.Header.Get("Content-Type"),
|
||||||
Mode: 0644,
|
Mode: 0644,
|
||||||
Size: r.ContentLength,
|
Size: r.ContentLength
|
||||||
ModTime: time.Now(),
|
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue