Fixed redirect, for post upload complete.
This commit is contained in:
parent
3b745fe812
commit
0d564fe8ae
|
|
@ -80,7 +80,7 @@ public class FilesController(ApplicationDbContext context) : Controller
|
|||
|
||||
await context.SaveChangesAsync();
|
||||
|
||||
return Redirect($"/Files/{handle.Id}");
|
||||
return RedirectToAction("Index", "Files", new{ id = handle.Id});
|
||||
}
|
||||
|
||||
private async Task CreateFileBlocks(FileHandle fileHandle, Stream reader)
|
||||
|
|
|
|||
Loading…
Reference in New Issue