aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-04-03 02:36:42 -0700
committerFuwn <[email protected]>2022-04-03 02:36:42 -0700
commit4e7ddd6e2869715559c045fd0fc8e40bc771bb2f (patch)
tree1cf3b99ae9e7a42898af89f1d5d490ce7d861d37 /examples
parentfeat: support windmark 0.1.8 (diff)
downloadwindmark-comments-main.tar.xz
windmark-comments-main.zip
fix: windmark 0.1.9HEAD0.1.3main
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(|_| {