serve改个名字,叫web_part

This commit is contained in:
shenjack 2024-08-30 12:35:58 +08:00
parent cebaa3caee
commit cc37475f4a
Signed by: shenjack
GPG Key ID: 7B1134A979775551
4 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@ use sea_orm::{
ActiveModelTrait, ColumnTrait, ConnectionTrait, DatabaseConnection, EntityTrait,
IntoActiveModel, ModelTrait, QueryFilter, QuerySelect, Statement, TransactionTrait,
};
use tracing::{event, Level};
// use tracing::{event, Level};
use crate::model;
use crate::model::sea_orm_active_enums::SaveType;

View File

@ -9,7 +9,7 @@ mod db_part;
#[allow(unused)]
mod model;
mod net;
mod serve;
mod web_part;
use crate::db_part::CoverStrategy;
use migration::SaveId;
@ -89,7 +89,7 @@ async fn serve_mode(mut stop_receiver: Receiver<()>) -> anyhow::Result<()> {
let mut web_waiter = None;
if conf.serve.enable {
web_waiter = Some(tokio::spawn(serve::web_main()));
web_waiter = Some(tokio::spawn(web_part::web_main()));
}
event!(