Commit c6b37e6e authored by Ivan's avatar Ivan Committed by Jeromy Johnson

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: default avatarIvan <ivan386@users.noreply.github.com>
parent 18d2a2d8
...@@ -65,7 +65,7 @@ func Init(out io.Writer, nBitsForKeypair int) (*Config, error) { ...@@ -65,7 +65,7 @@ func Init(out io.Writer, nBitsForKeypair int) (*Config, error) {
HTTPHeaders: map[string][]string{ HTTPHeaders: map[string][]string{
"Access-Control-Allow-Origin": []string{"*"}, "Access-Control-Allow-Origin": []string{"*"},
"Access-Control-Allow-Methods": []string{"GET"}, "Access-Control-Allow-Methods": []string{"GET"},
"Access-Control-Allow-Headers": []string{"X-Requested-With"}, "Access-Control-Allow-Headers": []string{"X-Requested-With", "Range"},
}, },
}, },
Reprovider: Reprovider{ Reprovider: Reprovider{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment