소스 검색

fix: :lock: removed the line that exposes file structure of web server (#3118)

in web/src/lib there is a line that says "Starting up" to the browser console. This is leaking information about server file structure.
Related: https://github.com/DioxusLabs/dioxus/issues/3117
Ahmet Kaan GÜMÜŞ 8 달 전
부모
커밋
d3404bd13a
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 2
      packages/web/src/lib.rs

+ 0 - 2
packages/web/src/lib.rs

@@ -61,8 +61,6 @@ pub use hydration::*;
 /// wasm_bindgen_futures::spawn_local(app_fut);
 /// ```
 pub async fn run(mut virtual_dom: VirtualDom, web_config: Config) -> ! {
-    tracing::info!("Starting up");
-
     #[cfg(feature = "document")]
     virtual_dom.in_runtime(document::init_document);