Unvendor x/net/http2
This commit is contained in:
parent
37c8e780bc
commit
64a4bfbd8a
51 changed files with 2 additions and 23185 deletions
|
@ -208,8 +208,8 @@ func serveIndex(w http.ResponseWriter, r *http.Request) {
|
|||
|
||||
cookie, err := r.Cookie("push")
|
||||
if err != nil {
|
||||
err = pusher.Push("/"+files[1].Path, options)
|
||||
err = pusher.Push("/"+files[0].Path, options)
|
||||
pusher.Push("/"+files[1].Path, options)
|
||||
pusher.Push("/"+files[0].Path, options)
|
||||
setPushCookie(w, r)
|
||||
} else {
|
||||
pushed := false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue