mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-09 23:00:58 +00:00
Fix typo in header name
This commit is contained in:
parent
0ae342673a
commit
a455258a62
@ -32,7 +32,7 @@ func embeddedStatic() interface{} {
|
|||||||
if len(mtype) != 0 {
|
if len(mtype) != 0 {
|
||||||
res.Header().Set("Content-Type", mtype)
|
res.Header().Set("Content-Type", mtype)
|
||||||
}
|
}
|
||||||
res.Header().Set("Content-Size", fmt.Sprintf("%d", len(bs)))
|
res.Header().Set("Content-Length", fmt.Sprintf("%d", len(bs)))
|
||||||
res.Header().Set("Last-Modified", modt)
|
res.Header().Set("Last-Modified", modt)
|
||||||
|
|
||||||
res.Write(bs)
|
res.Write(bs)
|
||||||
|
Loading…
Reference in New Issue
Block a user