diff --git a/lambda/templates/html-template.hbs b/lambda/templates/html-template.hbs index 7ee5b61..c46e07f 100644 --- a/lambda/templates/html-template.hbs +++ b/lambda/templates/html-template.hbs @@ -29,6 +29,11 @@ border-spacing: 0; border-radius: 2px; } + .refresh-container { + width: 90%; + margin: auto; + text-align: right; + } td { text-align: center; } @@ -51,6 +56,11 @@ {{/if}} +
+
+ +
+
diff --git a/lambda/uploadForm/index.js b/lambda/uploadForm/index.js index b41b52a..039262d 100644 --- a/lambda/uploadForm/index.js +++ b/lambda/uploadForm/index.js @@ -11,7 +11,7 @@ module.exports.handler = (event, context, callback) => { Bucket: process.env.S3_BUCKET, Fields: { acl: 'public-read', - success_action_redirect: `https://${event.headers.Host}/${process.env.STAGE}/list-objects` + success_action_redirect: `https://${event.headers.Host}/${process.env.STAGE}/list-objects?uploaded=true` }, Conditions: [ ['starts-with', '$key', '']
ID