Merge pull request #145 from timokoesters/fixserve
Ignore base_path changes for serve
This commit is contained in:
1 file changed
+3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user