@cryptotaxi247 / kubo / commits / 08255bcd9

go-ipfs-config: Allow the use of the Range header in WebTorrent (#3929)

* Allow the use of the Range header in WebTorrent License: MIT Signed-off-by: Ivan386 * Allow the use of the Range header in WebTorrent License: MIT Signed-off-by: Ivan <ivan386@users.noreply.github.com>

Ivan committed Jun 10, 2017 at 05:56 UTC 08255bcd915fcdee98ac4cc5f729d5c48d49f261
1 file changed +1 -1
config/init.go
+1 -1
@@ -65,7 +65,7 @@ func Init(out io.Writer, nBitsForKeypair int) (*Config, error) {
65 HTTPHeaders: map[string][]string{
66 "Access-Control-Allow-Origin": []string{"*"},
67 "Access-Control-Allow-Methods": []string{"GET"},
68 - "Access-Control-Allow-Headers": []string{"X-Requested-With"},
68 + "Access-Control-Allow-Headers": []string{"X-Requested-With", "Range"},
69 },
70 },
71 Reprovider: Reprovider{