File tree 3 files changed +7
-7
lines changed
3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
- 2.0.9: QmaAP56JAwdjwisPTu4yx17whcjTr6y5JCSCF77Y1rahWV
1
+ 2.0.10: QmWGm4AbZEbnmdgVTza52MSNpEmBdFVqzmAysRbjrRyGbH
Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ func TestWildcardOrigin(t *testing.T) {
171
171
Origin : origin ,
172
172
AllowOrigins : allowedOrigins ,
173
173
ResHeaders : map [string ]string {
174
- ACAOrigin : origin ,
174
+ ACAOrigin : "*" ,
175
175
ACAMethods : "" ,
176
176
ACACredentials : "" ,
177
177
"Access-Control-Max-Age" : "" ,
@@ -259,7 +259,7 @@ func TestWildcardReferer(t *testing.T) {
259
259
Origin : origin ,
260
260
AllowOrigins : allowedOrigins ,
261
261
ResHeaders : map [string ]string {
262
- ACAOrigin : origin ,
262
+ ACAOrigin : "*" ,
263
263
ACAMethods : "" ,
264
264
ACACredentials : "" ,
265
265
"Access-Control-Max-Age" : "" ,
@@ -289,7 +289,7 @@ func TestAllowedMethod(t *testing.T) {
289
289
gtc := func (method string , ok bool ) httpTestCase {
290
290
code := http .StatusOK
291
291
hdrs := map [string ]string {
292
- ACAOrigin : "http://localhost " ,
292
+ ACAOrigin : "* " ,
293
293
ACAMethods : method ,
294
294
ACACredentials : "" ,
295
295
"Access-Control-Max-Age" : "" ,
Original file line number Diff line number Diff line change 14
14
},
15
15
{
16
16
"author" : " rs" ,
17
- "hash" : " QmPG2kW5t27LuHgHnvhUwbHCNHAt2eUcb4gPHqofrESUdB " ,
17
+ "hash" : " QmNNk4iczWp8Q4R1mXQ2mrrjQvWisYqMqbW1an8qGbJZsM " ,
18
18
"name" : " cors" ,
19
- "version" : " 0.0 .0"
19
+ "version" : " 1.6 .0"
20
20
},
21
21
{
22
22
"author" : " whyrusleeping" ,
53
53
"license" : " MIT" ,
54
54
"name" : " go-ipfs-cmds" ,
55
55
"releaseCmd" : " git commit -a -m \" gx publish $VERSION\" " ,
56
- "version" : " 2.0.9 "
56
+ "version" : " 2.0.10 "
57
57
}
58
58
You can’t perform that action at this time.
0 commit comments