Merge pull request #145 from timokoesters/fixserve

Ignore base_path changes for serve
This commit is contained in:
Jon Kelley authored and GitHub committed 2023-06-28 16:52:31 -07:00
commit a967c414e7
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