Skip to content

Commit

Permalink
Make TProxy cookie configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
John Cowen committed Dec 22, 2021
1 parent 7737301 commit cc698d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/packages/consul-ui/mock-api/v1/catalog/connect/_
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ ${range(env('CONSUL_EXPOSED_COUNT', 3)).map((i) => `
`)}
]
},
"Mode": "${fake.helpers.randomize(['', 'direct', 'transparent'])}",
"Mode": "${env('CONSUL_TPROXY_ENABLE') ? `transparent` : fake.helpers.randomize(['', 'direct', 'transparent'])}",
"TransparentProxy": {},
"DestinationServiceName": "${location.pathname.slice(4)}"
${ location.pathname.slice(4) === "service-0" ? `
Expand Down

0 comments on commit cc698d3

Please sign in to comment.