fix: disable base_path changes for serve

This commit is contained in:
Timo Kösters committed 2023-06-02 07:35:03 +02:00
1 parent 2bbf69e6b6
commit 808da6e07f
1 file changed
+3
+3
View File
@@ -36,6 +36,9 @@ impl Serve {
crate_config.set_features(self.serve.features.unwrap());
}
// Subdirectories don't work with the server
crate_config.dioxus_config.web.app.base_path = None;
let platform = self.serve.platform.unwrap_or_else(|| {
crate_config
.dioxus_config