4e2c1c932a
- Added actix-web and actix-multipart dependencies to Cargo.toml - Integrated actix-web ResponseError trait for AppError handling - Migrated session module to use actix-web request lifecycle management - Enhanced Session struct with request-local state handling capabilities - Implemented proper HTTP status code mapping for various error types - Added comprehensive session middleware integration points - Updated session state persistence and modification tracking logic - Integrated proper JSON response formatting for error messages - Added support for session renewal, purge, and unchanged state management
7 lines
136 B
Rust
7 lines
136 B
Rust
use actix_web::web;
|
|
use actix_web::web::scope;
|
|
|
|
pub fn init_routes(cfg: &mut web::ServiceConfig) {
|
|
cfg.service(scope("/api/v1"));
|
|
}
|