mirror of
https://github.com/actix/examples
synced 2025-06-28 18:00:37 +02:00
update to beta.1
This commit is contained in:
@ -2,7 +2,7 @@ use actix_web::{error, web};
|
||||
|
||||
use crate::handlers::{parts, products};
|
||||
|
||||
pub fn config_app(cfg: &mut web::RouterConfig) {
|
||||
pub fn config_app(cfg: &mut web::ServiceConfig) {
|
||||
// domain includes: /products/{product_id}/parts/{part_id}
|
||||
cfg.service(
|
||||
web::scope("/products")
|
||||
|
Reference in New Issue
Block a user