Skip to content

Commit bd9002f

Browse files
committed
fix reference generation redirect
1 parent 584a7ca commit bd9002f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dotnet/Blazor3D.Web/Blazor3D.Web/Controllers/ReferenceController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public async Task<ActionResult> Generate(IFormCollection collection)
2828
var refPath = PathCombiner.Combine(_hostEnvironment.WebRootPath, "/reference/");
2929
var templatePath = PathCombiner.Combine(Directory.GetCurrentDirectory(), "\\Templates\\Index.html");
3030
await generator.Generate(parser.Reference, refPath, templatePath);
31-
return RedirectToAction(nameof(Index));
31+
return Redirect("/reference/Index.html");
3232
}
3333
catch
3434
{

0 commit comments

Comments
 (0)