Update example to latest betas

This commit is contained in:
asonix 2021-06-26 18:07:27 -05:00
parent 5849e8ae5e
commit 35e7220b1d

View file

@ -34,9 +34,9 @@ async fn main() -> Result<(), Box<dyn Error>> {
pretty_env_logger::init();
HttpServer::new(|| {
App::new()
.data(MyState {
.app_data(Data::new(MyState {
domain: "localhost:8000".to_owned(),
})
}))
.wrap(Logger::default())
.service(actix_webfinger::resource::<MyResolver>())
})