Browse Source

Update GithubDocumentStore.cs

pull/1040/head
maliming 7 years ago
committed by GitHub
parent
commit
2b0f7f2e53
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      modules/docs/src/Volo.Docs.Domain/Volo/Docs/GitHub/Documents/GithubDocumentStore.cs

5
modules/docs/src/Volo.Docs.Domain/Volo/Docs/GitHub/Documents/GithubDocumentStore.cs

@ -206,7 +206,8 @@ namespace Volo.Docs.GitHub.Documents
{
return rootUrl
.Replace("github.com", "raw.githubusercontent.com")
.ReplaceFirst("/tree/", "/").EnsureEndsWith('/');
.ReplaceFirst("/tree/", "/")
.EnsureEndsWith('/');
}
}
}
}

Loading…
Cancel
Save