Sort webapp du pmoserver dans la crate pmoapp

This commit is contained in:
2025-10-06 07:31:03 +02:00
parent 05a9c7100a
commit f87f467680
1243 changed files with 141 additions and 545245 deletions

View File

@@ -23,8 +23,7 @@ use rust_embed::RustEmbed;
use serde::Serialize;
use std::{net::SocketAddr, sync::Arc};
use tokio::{signal, sync::RwLock, task::JoinHandle};
use tracing::{info, warn, debug, error};
use utoipa::OpenApi;
use tracing::info;
use utoipa_swagger_ui::SwaggerUi;
/// Info serveur sérialisable
@@ -48,10 +47,6 @@ pub struct Server {
join_handle: Option<JoinHandle<()>>,
}
#[derive(RustEmbed, Clone)]
#[folder = "webapp/dist"]
pub struct Webapp;
impl Server {
/// Crée une nouvelle instance de serveur
///