mirror of
https://github.com/DioxusLabs/dioxus
synced 2025-02-17 06:08:26 +00:00
fix: disable base_path changes for serve
This commit is contained in:
parent
2bbf69e6b6
commit
808da6e07f
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue