Skip to content

Commit

Permalink
go-ipfs-config: Merge pull request ipfs#15 from ivan386/patch-1
Browse files Browse the repository at this point in the history
Allow the use of the User-Agent header
  • Loading branch information
Stebalien authored Nov 27, 2018
2 parents c2b1515 + 5ee6e22 commit e8ba01b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{},
},
Expand Down

0 comments on commit e8ba01b

Please sign in to comment.