Prepend ES endpoint with slash (#25073) (#25082)

This commit is contained in:
Jen Huang 2018-11-05 09:45:08 -08:00 committed by GitHub
parent 979ea04277
commit deda6739e2
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'