Skip to content

Commit fd36374

Browse files
committed
fix doc sample code
1 parent b660afd commit fd36374

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ohkami/src/fang/builtin/csrf.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ use std::sync::Arc;
2424
/// Ohkami::new((
2525
/// Csrf::new(),
2626
/// "/".GET(|| async {"Hello, CSRF!"}),
27-
/// ))
27+
/// )).howl("0.0.0.0:3000").await
2828
/// }
2929
/// ```
3030
///
@@ -44,7 +44,7 @@ use std::sync::Arc;
4444
/// "https://example.org",
4545
/// ]),
4646
/// "/".GET(|| async {"Hello, CSRF!"}),
47-
/// ))
47+
/// )).howl("0.0.0.0:5000").await
4848
/// }
4949
/// ```
5050
#[derive(Clone)]

0 commit comments

Comments
 (0)