Skip to content

Commit

Permalink
Merge pull request #408 from nolotz/master
Browse files Browse the repository at this point in the history
ServerSideWebsite: Add Progress.create() arg for Serverless 4 compatibility
  • Loading branch information
mnapoli authored Oct 23, 2024
2 parents 08772c5 + 656b3df commit d3bc25e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/constructs/aws/ServerSideWebsite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,9 @@ export class ServerSideWebsite extends AwsConstruct {
const progress = getUtils().progress;
let uploadProgress: Progress | undefined;
if (progress) {
uploadProgress = progress.create();
uploadProgress = progress.create({
message: 'Uploading assets'
});
}

let invalidate = false;
Expand Down

0 comments on commit d3bc25e

Please sign in to comment.