go-ipfs-config: run gofmt -s

This commit is contained in:
web3-bot 2021-05-17 17:00:43 +00:00
parent b14afc2222
commit 8f09fa547f

View File

@ -68,9 +68,9 @@ func InitWithIdentity(identity Identity) (*Config, error) {
NoFetch: false,
PathPrefixes: []string{},
HTTPHeaders: map[string][]string{
"Access-Control-Allow-Origin": []string{"*"},
"Access-Control-Allow-Methods": []string{"GET"},
"Access-Control-Allow-Headers": []string{"X-Requested-With", "Range", "User-Agent"},
"Access-Control-Allow-Origin": {"*"},
"Access-Control-Allow-Methods": {"GET"},
"Access-Control-Allow-Headers": {"X-Requested-With", "Range", "User-Agent"},
},
APICommands: []string{},
},