mirror of
https://github.com/actix/examples
synced 2025-06-29 02:10:36 +02:00
update dependencies
This commit is contained in:
@ -49,7 +49,7 @@ async fn main() -> io::Result<()> {
|
||||
|
||||
HttpServer::new(move || {
|
||||
App::new()
|
||||
.register_data(handlebars_ref.clone())
|
||||
.app_data(handlebars_ref.clone())
|
||||
.service(index)
|
||||
.service(user)
|
||||
})
|
||||
|
Reference in New Issue
Block a user