diff --git a/cobra/templates/index.html b/cobra/templates/index.html index ac57aa23..151aa983 100644 --- a/cobra/templates/index.html +++ b/cobra/templates/index.html @@ -238,7 +238,7 @@

Drag and drop upload

if (result.code === 1001) { if (result.result.status === 'done') { $('.tab-content').plainOverlay('hide'); - window.location.href = window.location + result.result.report; + window.location = result.result['report']; process_bar.css('width', '0%'); } else { setTimeout(get_status, 3000);