From eb480e47cbee42f0d20fc6edebd2270dbbb72f54 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Fri, 1 Apr 2022 01:21:40 -0700 Subject: feat: variable max amount of comments --- examples/windmark_comments.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'examples') diff --git a/examples/windmark_comments.rs b/examples/windmark_comments.rs index bfe6bed..fd7d266 100644 --- a/examples/windmark_comments.rs +++ b/examples/windmark_comments.rs @@ -20,6 +20,8 @@ use windmark::Response; #[windmark::main] async fn main() -> Result<(), Box> { + windmark_comments::set_max_comments(10); + windmark::Router::new() .set_private_key_file("windmark_comments_private.pem") .set_certificate_file("windmark_comments_public.pem") -- cgit v1.2.3