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 22, 2023
1 parent 33cc3b3 commit 1e82da0
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 1e82da0

Please sign in to comment.