diff options
| author | Fuwn <[email protected]> | 2022-04-03 02:36:42 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-04-03 02:36:42 -0700 |
| commit | 4e7ddd6e2869715559c045fd0fc8e40bc771bb2f (patch) | |
| tree | 1cf3b99ae9e7a42898af89f1d5d490ce7d861d37 /examples/windmark_comments.rs | |
| parent | feat: support windmark 0.1.8 (diff) | |
| download | windmark-comments-4e7ddd6e2869715559c045fd0fc8e40bc771bb2f.tar.xz windmark-comments-4e7ddd6e2869715559c045fd0fc8e40bc771bb2f.zip | |
Diffstat (limited to 'examples/windmark_comments.rs')
| -rw-r--r-- | examples/windmark_comments.rs | 2 |
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(|_| { |