BLOG-142 Move label to a new feature #143

Merged
squid merged 4 commits from BLOG-142_move_label_to_new_feature into main 2025-10-15 06:23:58 +08:00
2 changed files with 3 additions and 1 deletions
Showing only changes of commit 6213ab7a95 - Show all commits

View File

@ -5,7 +5,7 @@ use crate::framework::web::{
update_label_handler::update_label_handler, update_label_handler::update_label_handler,
}; };
pub fn configure_post_routes(cfg: &mut web::ServiceConfig) { pub fn configure_label_routes(cfg: &mut web::ServiceConfig) {
cfg.service( cfg.service(
web::scope("/label") web::scope("/label")
.route("", web::get().to(get_all_labels_handler)) .route("", web::get().to(get_all_labels_handler))

View File

@ -10,6 +10,7 @@ use actix_web::{
}; };
use auth::framework::web::auth_web_routes::configure_auth_routes; use auth::framework::web::auth_web_routes::configure_auth_routes;
use image::framework::web::image_web_routes::configure_image_routes; use image::framework::web::image_web_routes::configure_image_routes;
use label::framework::web::label_web_routes::configure_label_routes;
use openidconnect::reqwest; use openidconnect::reqwest;
use post::framework::web::post_web_routes::configure_post_routes; use post::framework::web::post_web_routes::configure_post_routes;
use server::{ use server::{
@ -88,5 +89,6 @@ fn create_app(
.configure(configure_api_doc_routes) .configure(configure_api_doc_routes)
.configure(configure_auth_routes) .configure(configure_auth_routes)
.configure(configure_image_routes) .configure(configure_image_routes)
.configure(configure_label_routes)
.configure(configure_post_routes) .configure(configure_post_routes)
} }