mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-24 03:47:45 +08:00
go-ipfs-config: Allow the use of the User-Agent header
License: MIT Signed-off-by: Ivan <ivan386@users.noreply.github.com>
This commit is contained in:
parent
765faf504e
commit
1ca5f8e640
@ -64,7 +64,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", "Range"},
|
||||
"Access-Control-Allow-Headers": []string{"X-Requested-With", "Range", "User-Agent"},
|
||||
},
|
||||
APICommands: []string{},
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user