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
c6b37e6e22552b6a7a9be8fb07953303612bc9c5
1 file changed
+1
-1
repo/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{