Skip to content
This repository has been archived by the owner on Mar 9, 2022. It is now read-only.

Allow the use of the User-Agent header #15

Merged
merged 1 commit into from Nov 27, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion init.go
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