mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-24 20:07:45 +08:00
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>
This commit is contained in:
parent
90b6d80f5d
commit
08255bcd91
@ -65,7 +65,7 @@ func Init(out io.Writer, nBitsForKeypair int) (*Config, error) {
|
||||
HTTPHeaders: map[string][]string{
|
||||
"Access-Control-Allow-Origin": []string{"*"},
|
||||
"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{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user