1
0
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:
Nikolay Kim
2019-04-21 09:36:31 -07:00
parent 0faa540b8d
commit 52811611d0
4 changed files with 24 additions and 11 deletions

View File

@ -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"

View File

@ -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")