Fix client side liveview links (#3341)

* Fix liveview links

* Serve all routes under with_virtual_dom
This commit is contained in:
Evan Almloff authored and GitHub committed 2024-12-11 11:12:20 -08:00
1 parent 94a499c900
commit 3e1e7f05e7
2 files changed
+12 -1

No files matched your search

+4
View File
@@ -342,6 +342,10 @@ impl History for LiveviewHistory {
let mut updater_callback = self.updater_callback.write().unwrap();
*updater_callback = callback;
}
fn include_prevent_default(&self) -> bool {
true
}
}
mod routes {