File tree Expand file tree Collapse file tree 3 files changed +16
-2
lines changed Expand file tree Collapse file tree 3 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -470,6 +470,10 @@ func (l1 *Location) Equal(l2 *Location) bool {
470
470
return false
471
471
}
472
472
473
+ if ! l1 .CustomHeaders .Equal (& l2 .CustomHeaders ) {
474
+ return false
475
+ }
476
+
473
477
return true
474
478
}
475
479
Original file line number Diff line number Diff line change 302
302
"validationDepth" : 0
303
303
},
304
304
"use-port-in-redirects" : false ,
305
- "configuration-snippet" : " "
305
+ "configuration-snippet" : " " ,
306
+ "customHeaders" : {
307
+ "headers" : {
308
+ "Server" : " HAL9000"
309
+ }
310
+ }
306
311
}]
307
312
}, {
308
313
"hostname" : " dev.mycompany.com" ,
Original file line number Diff line number Diff line change 302
302
"validationDepth" : 0
303
303
},
304
304
"use-port-in-redirects" : false ,
305
- "configuration-snippet" : " "
305
+ "configuration-snippet" : " " ,
306
+ "customHeaders" : {
307
+ "headers" : {
308
+ "Server" : " HAL9000"
309
+ }
310
+ }
306
311
}]
307
312
}, {
308
313
"hostname" : " dev.mycompany.com" ,
You can’t perform that action at this time.
0 commit comments