forked from Github/Axter-Stash
Update file.html
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user