Prepend ES endpoint with slash (#25073)

This commit is contained in:
Jen Huang 2018-11-02 15:16:06 -07:00 committed by GitHub
parent 84e72d3ef6
commit 077634c483
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,7 +13,7 @@ export const elasticsearchJsPlugin = (Client, config, components) => {
rollup.rollupIndexCapabilities = ca({
urls: [
{
fmt: '<%=indexPattern%>/_xpack/rollup/data',
fmt: '/<%=indexPattern%>/_xpack/rollup/data',
req: {
indexPattern: {
type: 'string'