Add liveview support to the CLI and make fullstack runnable from dist (#2759)
* add liveview cli support * Fix TUI fullstack deadlock * look for fullstack assets in the public directory * Fix fullstack with the CLI * Fix static generation server
This commit is contained in:
1 parent
9dbdf74a1e
commit
e5e578d27b
14 files changed
+428
-272
No files matched your search
@@ -155,7 +155,7 @@ async fn launch_server(
|
||||
|
||||
let cfg = platform_config.server_cfg.build();
|
||||
|
||||
let mut router = router.serve_static_assets(cfg.assets_path.clone());
|
||||
let mut router = router.serve_static_assets();
|
||||
|
||||
router.fallback(
|
||||
axum::routing::get(crate::axum_adapter::render_handler).with_state(
|
||||
|
||||
Reference in new issue
Block a user