go-ipfs-config: run gofmt -s
web3-bot committed
May 17, 2021 at 17:00 UTC
8f09fa547f53eae317c81e0b860f253c57a624fe
1 file changed
+3
-3
config/init.go
+3
-3
@@ -68,9 +68,9 @@ func InitWithIdentity(identity Identity) (*Config, error) {
68
NoFetch: false,
69
PathPrefixes: []string{},
70
HTTPHeaders: map[string][]string{
71
- "Access-Control-Allow-Origin": []string{"*"},
72
- "Access-Control-Allow-Methods": []string{"GET"},
73
- "Access-Control-Allow-Headers": []string{"X-Requested-With", "Range", "User-Agent"},
71
+ "Access-Control-Allow-Origin": {"*"},
72
+ "Access-Control-Allow-Methods": {"GET"},
73
+ "Access-Control-Allow-Headers": {"X-Requested-With", "Range", "User-Agent"},
74
},
75
APICommands: []string{},
76
},