Skip to content

Commit

Permalink
Content Type: text/plain
Browse files Browse the repository at this point in the history
  • Loading branch information
Wayne-KTCSZ committed Oct 9, 2023
1 parent 81319b2 commit 16a32e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ZKEACMS/Controllers/EventViewerController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public IActionResult Delete(string id)
}
public IActionResult ViewLog(string id)
{
return Content(_eventViewerService.ReadLog(id));
return Content(_eventViewerService.ReadLog(id), "text/plain");
}
}
}

0 comments on commit 16a32e8

Please sign in to comment.