Skip to content

Commit

Permalink
Fix Device model max age configuration handler (#2086)
Browse files Browse the repository at this point in the history
  • Loading branch information
kbeaugrand committed Jun 20, 2023
1 parent 8a723f9 commit 3ab4fc8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ internal ProductionAWSConfigHandler(IConfiguration config)

public override string StorageAccountConnectionString => throw new NotImplementedException();

public override int StorageAccountDeviceModelImageMaxAge => throw new NotImplementedException();
public override int StorageAccountDeviceModelImageMaxAge => this.config.GetValue(StorageAccountDeviceModelImageMaxAgeKey, 86400);

public override bool UseSecurityHeaders => this.config.GetValue(UseSecurityHeadersKey, true);

Expand Down

0 comments on commit 3ab4fc8

Please sign in to comment.