lib: remove TODO for page rendering

This commit is contained in:
Peter Cai 2020-04-15 14:02:53 +08:00
parent 9ebcbd1d59
commit 2064f36b14
No known key found for this signature in database
GPG key ID: 71F5FB4E4F3FD54F

View file

@ -167,7 +167,7 @@ async fn default_route(_req: Request, url: Url) -> MyResult<Response> {
} else {
// TODO: Actually render the page...
// Render the page
return Response::new_with_opt_str_and_init(
Some(&render::render_post(url, post).await?),