consul/ui/packages/consul-ui/mock-api/v1/coordinate/.config

11 lines
257 B
Plaintext

---
"*":
GET:
"*":
headers:
response:
X-Consul-Index: ${ parseInt((location.search.index || 1)) + 1}
index:
"*":
latency: ${ location.search.index ? env('CONSUL_LATENCY', 60000) : env('CONSUL_LATENCY', 0) }