Skip to content

Commit

Permalink
Merge pull request #5152 from Sage-Bionetworks/release-462
Browse files Browse the repository at this point in the history
merge release 462 into release 463
  • Loading branch information
jay-hodgson authored Jul 25, 2023
2 parents b934479 + 48db910 commit 37d8549
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,9 @@ private static native void _upload(
var listener = function(err, data) {
if (err) {
//error
console.log("Upload error, retrying:", err.code, err.message);
console.log("Upload error", err.code, err.message);
upload.abort();
setTimeout(function() {
upload.send(listener);
}, 5000);
callback.@org.sagebionetworks.web.client.widget.upload.S3DirectUploadHandler::uploadFailed(Ljava/lang/String;)(err.message);
} else {
//success
callback.@org.sagebionetworks.web.client.widget.upload.S3DirectUploadHandler::uploadSuccess()();
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/Portal.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<meta
http-equiv="Content-Security-Policy"
content="default-src 'self' data: blob: 'unsafe-inline' 'unsafe-eval' *.synapse.org *.sagebase.org *.googleapis.com *.gstatic.com *.googletagmanager.com cdn.statuspage.io s3.amazonaws.com www.google-analytics.com kh896k90gyvg.statuspage.io *.youtube.com *.rstudio.com *.google.com *.shinyapps.io *.smartsheet.com 127.0.0.1:9876; img-src * data: blob:"
content="default-src 'self' data: blob: 'unsafe-inline' 'unsafe-eval' *.synapse.org *.sagebase.org *.googleapis.com *.gstatic.com *.googletagmanager.com cdn.statuspage.io s3.amazonaws.com www.google-analytics.com kh896k90gyvg.statuspage.io *.youtube.com *.rstudio.com *.google.com *.shinyapps.io *.smartsheet.com 127.0.0.1:9876; img-src * data: blob:; connect-src https://* http://127.0.0.1:8888"
/>
<meta
name="google-site-verification"
Expand Down

0 comments on commit 37d8549

Please sign in to comment.