aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/windmark_comments.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/windmark_comments.rs b/examples/windmark_comments.rs
index fd7d266..48d5827 100644
--- a/examples/windmark_comments.rs
+++ b/examples/windmark_comments.rs
@@ -25,7 +25,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
windmark::Router::new()
.set_private_key_file("windmark_comments_private.pem")
.set_certificate_file("windmark_comments_public.pem")
- .attach(windmark_comments::module)
+ .attach_stateless(windmark_comments::module)
.mount(
"/",
Box::new(|_| {