From 186a45e05284ea114dc5c02db92dac056c271634 Mon Sep 17 00:00:00 2001 From: Simon Howe Date: Thu, 3 Mar 2016 14:13:40 +0100 Subject: [PATCH] Fixes the pipe-alive check when running scope-ui under a path --- client/app/scripts/utils/web-api-utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/app/scripts/utils/web-api-utils.js b/client/app/scripts/utils/web-api-utils.js index 3fd3a979d..fe48b0fac 100644 --- a/client/app/scripts/utils/web-api-utils.js +++ b/client/app/scripts/utils/web-api-utils.js @@ -214,7 +214,7 @@ export function deletePipe(pipeId) { } export function getPipeStatus(pipeId) { - const url = `/api/pipe/${encodeURIComponent(pipeId)}/check`; + const url = `api/pipe/${encodeURIComponent(pipeId)}/check`; reqwest({ method: 'GET', url: url,