forked from quic-go/quic-go
improve tiles demo and remove an empty file
This commit is contained in:
@@ -44,7 +44,7 @@ func init() {
|
||||
})
|
||||
|
||||
http.HandleFunc("/demo/tiles", func(w http.ResponseWriter, r *http.Request) {
|
||||
io.WriteString(w, "<html><body>")
|
||||
io.WriteString(w, "<html><head><style>img{width:40px;height:40px;}</style></head><body>")
|
||||
for i := 0; i < 200; i++ {
|
||||
fmt.Fprintf(w, `<img src="/demo/tile?cachebust=%d">`, i)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user