Skip to content

Commit 2c62626

Browse files
committed
fix document type not working....
1 parent 4f5c046 commit 2c62626

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

GithubWebpagesWebhook/PageViewer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public static async Task<IActionResult> RunAsync(
2828
return new ContentResult()
2929
{
3030
Content = page,
31-
ContentType = "document",
31+
ContentType = "text/html",
3232
StatusCode = 200,
3333
};
3434
}

0 commit comments

Comments
 (0)