Skip to content

Commit

Permalink
cypress hack
Browse files Browse the repository at this point in the history
a workaround for missing dynamic routing capabilities
see cypress-io/cypress#521
and cypress-io/cypress#387
  • Loading branch information
mgurov committed Jul 16, 2018
1 parent 8e16c01 commit 81ba1a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/actions/fetching.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function doHttpFetch({fromTimestamp, toTimestamp, config}) {
ignoreMissingIndex = true
}
let body = makeSearch({ serviceName: config.serviceName, from: fromTimestamp, to: now, config })
return fetch(API_PATH + '/' + index + '/_search?size=' + MAX_FETCH_SIZE + '&ignore_unavailable=' + ignoreMissingIndex, {
return fetch(API_PATH + '/' + index + '/_search?size=' + MAX_FETCH_SIZE + '&ignore_unavailable=' + ignoreMissingIndex + '&cypress-app=' + config.serviceName, {
method: "POST",
headers: new Headers({"Content-Type": "application/json"}),
body: JSON.stringify(body),
Expand Down

0 comments on commit 81ba1a6

Please sign in to comment.