mirror of
https://github.com/actix/examples
synced 2025-06-28 09:50:36 +02:00
update to beta.1
This commit is contained in:
@ -7,7 +7,7 @@ workspace = ".."
|
||||
|
||||
[dependencies]
|
||||
actix-rt = "0.2.2"
|
||||
actix-web = { version="1.0.0-alpha.4", features=["ssl"] }
|
||||
actix-web = { version="1.0.0-beta.1", features=["ssl"] }
|
||||
actix-multipart = { git="https://github.com/actix/actix-web.git" }
|
||||
bytes = "0.4.12"
|
||||
env_logger = "0.6.1"
|
||||
|
@ -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