We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a2ea91 commit 6020b66Copy full SHA for 6020b66
src/ByteBard.AsyncAPI.Readers/Services/DefaultStreamLoader.cs
@@ -48,7 +48,7 @@ public async Task<Stream> LoadAsync(Uri uri)
48
switch (uri.Scheme.ToLowerInvariant())
49
{
50
case "file":
51
- return File.OpenRead(uri.AbsolutePath);
+ return File.OpenRead(uri.LocalPath);
52
case "http":
53
case "https":
54
return await HttpClient.GetStreamAsync(uri);
0 commit comments