diff --git a/plugins/DupFileManager/file.html b/plugins/DupFileManager/file.html index 6fb2d7e..2799ce5 100644 --- a/plugins/DupFileManager/file.html +++ b/plugins/DupFileManager/file.html @@ -74,7 +74,10 @@ class PluginDupFileManager extends StashPlugin{ } GetFile(Mode = "getReport") { var results = this.RunPluginOperation({ "Target" : this.PageNo, "mode":Mode}); - results = results.replace("var GraphQl_URL = ", "var OrigGQL_URL = "); + if (this.IS_DOCKER){ + GqlRoot = this.GraphQl_URL.replace("/graphql", ""); + results = results.replaceAll("http://127.0.0.1:9999", GqlRoot); + } const strResults = JSON.stringify(results); if (strResults.indexOf("INF: 'Error: Nothing to do!!!") > -1){ console.log("Ajax failed for function " + Mode +" and page " + this.PageNo + " with results = " + JSON.stringify(results));