try to pull the default out directory for the fullstack server from the config
This commit is contained in:
1 parent
13b6f3b9e7
commit
8eda785ace
6 files changed
+19
-10
No files matched your search
@@ -123,7 +123,7 @@ impl Config {
|
||||
let router = axum::Router::new().register_server_fns(server_fn_route);
|
||||
#[cfg(not(any(feature = "desktop", feature = "mobile")))]
|
||||
let router = router
|
||||
.serve_static_assets(cfg.assets_path)
|
||||
.serve_static_assets(cfg.assets_path.clone())
|
||||
.connect_hot_reload()
|
||||
.fallback(get(render_handler).with_state((
|
||||
cfg,
|
||||
|
||||
Reference in new issue
Block a user