Skip to content

Commit

Permalink
Comment out URL detection to analyze camel dumps
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaisrie committed Apr 6, 2021
1 parent 0718ea4 commit a9f99fa
Show file tree
Hide file tree
Showing 3 changed files with 3,329 additions and 5 deletions.
8 changes: 4 additions & 4 deletions frontend.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,10 @@ function removeDump() {
function executeAnalysis(dumpId) {
var text = $('#' + dumpId + '_dumpInput').val();

if (/\s*http(s)?:\/\/[^/]+\/.*\s*/.test(text)) {
importFromUrl(dumpId, text.trim());
return;
}
//if (/\s*http(s)?:\/\/[^/]+\/.*\s*/.test(text)) {
// importFromUrl(dumpId, text.trim());
// return;
//}

var analysis = dumpAnalysis[dumpId];
analysis.analyze(text);
Expand Down
Loading

0 comments on commit a9f99fa

Please sign in to comment.