add logs when the desktop or fullstack application is collecting assets
This commit is contained in:
1 parent
b76f129083
commit
426a342700
8 files changed
+82
No files matched your search
@@ -277,6 +277,9 @@ where
|
||||
fn serve_static_assets(mut self, assets_path: impl Into<std::path::PathBuf>) -> Self {
|
||||
use tower_http::services::{ServeDir, ServeFile};
|
||||
|
||||
// Copy over any assets we find
|
||||
crate::collect_assets::copy_assets();
|
||||
|
||||
let assets_path = assets_path.into();
|
||||
|
||||
// Serve all files in dist folder except index.html
|
||||
|
||||
Reference in new issue
Block a user