Skip to content

Commit 11256bc

Browse files
committed
Fix issue with getting a 404 for blazor.server.js
1 parent 52a5137 commit 11256bc

File tree

5 files changed

+5
-10
lines changed

5 files changed

+5
-10
lines changed

Tools/LambdaTestTool/src/Amazon.Lambda.TestTool.BlazorTester/Amazon.Lambda.TestTool.BlazorTester.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<OutputType>Exe</OutputType>
77
<Description>A tool to help debug and test your .NET Core AWS Lambda functions locally.</Description>
88
<LangVersion>Latest</LangVersion>
9-
<VersionPrefix>0.15.0</VersionPrefix>
9+
<VersionPrefix>0.15.1</VersionPrefix>
1010
<Product>AWS .NET Lambda Test Tool</Product>
1111
<Copyright>Apache 2</Copyright>
1212
<PackageTags>AWS;Amazon;Lambda</PackageTags>

Tools/LambdaTestTool/src/Amazon.Lambda.TestTool.BlazorTester/Amazon.Lambda.TestTool.BlazorTester60-pack.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<PropertyGroup>
66
<OutputType>Exe</OutputType>
77
<Description>A tool to help debug and test your .NET 6.0 AWS Lambda functions locally.</Description>
8-
<VersionPrefix>0.15.0</VersionPrefix>
8+
<VersionPrefix>0.15.1</VersionPrefix>
99
<Product>AWS .NET Lambda Test Tool</Product>
1010
<Copyright>Apache 2</Copyright>
1111
<PackageTags>AWS;Amazon;Lambda</PackageTags>

Tools/LambdaTestTool/src/Amazon.Lambda.TestTool.BlazorTester/Amazon.Lambda.TestTool.BlazorTester70-pack.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<PropertyGroup>
66
<OutputType>Exe</OutputType>
77
<Description>A tool to help debug and test your .NET 7.0 AWS Lambda functions locally.</Description>
8-
<VersionPrefix>0.15.0</VersionPrefix>
8+
<VersionPrefix>0.15.1</VersionPrefix>
99
<Product>AWS .NET Lambda Test Tool</Product>
1010
<Copyright>Apache 2</Copyright>
1111
<PackageTags>AWS;Amazon;Lambda</PackageTags>

Tools/LambdaTestTool/src/Amazon.Lambda.TestTool.BlazorTester/Amazon.Lambda.TestTool.BlazorTester80-pack.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<PropertyGroup>
66
<OutputType>Exe</OutputType>
77
<Description>A tool to help debug and test your .NET 8.0 AWS Lambda functions locally.</Description>
8-
<VersionPrefix>0.15.0</VersionPrefix>
8+
<VersionPrefix>0.15.1</VersionPrefix>
99
<Product>AWS .NET Lambda Test Tool</Product>
1010
<Copyright>Apache 2</Copyright>
1111
<PackageTags>AWS;Amazon;Lambda</PackageTags>

Tools/LambdaTestTool/src/Amazon.Lambda.TestTool.BlazorTester/Startup.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -100,13 +100,8 @@ public void ConfigureServices(IServiceCollection services)
100100
{
101101
var fileProvider = new ManifestEmbeddedFileProvider(typeof(Startup).Assembly, "wwwroot");
102102

103-
var f1 = fileProvider.GetFileInfo("_framework/blazor.server.js");
104-
105103
// Make sure we don't remove the existing file providers (blazor needs this)
106-
o.FileProvider = new CompositeFileProvider(fileProvider);
107-
108-
var f = o.FileProvider.GetFileInfo("_framework/blazor.server.js");
109-
Console.WriteLine(f.Name);
104+
o.FileProvider = new CompositeFileProvider(o.FileProvider, fileProvider);
110105
});
111106
#endif
112107
}

0 commit comments

Comments
 (0)