Skip to content

Commit

Permalink
Fixed acme challenge file path
Browse files Browse the repository at this point in the history
  • Loading branch information
shibayan committed Aug 22, 2018
1 parent 4ed0b6b commit acd3857
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AzureLetsEncrypt/SharedFunctions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public static async Task Http01Authorization([ActivityTrigger] DurableActivityCo
var kuduClient = new KuduApiClient(site.Name, credentials.PublishingUserName, credentials.PublishingPassword);

await kuduClient.WriteFileAsync(DefaultWebConfigPath, DefaultWebConfig);
await kuduClient.WriteFileAsync($"wwwroot/{challengeValidationDetails.HttpResourcePath}", challengeValidationDetails.HttpResourceValue);
await kuduClient.WriteFileAsync(challengeValidationDetails.HttpResourcePath, challengeValidationDetails.HttpResourceValue);

// Answer の準備が出来たことを通知
await acme.AnswerChallengeAsync(challenge.Url);
Expand Down

0 comments on commit acd3857

Please sign in to comment.