fix: disable base_path changes for serve

This commit is contained in:
Timo Kösters 2023-06-02 07:31:40 +02:00
parent 2bbf69e6b6
commit 808da6e07f
No known key found for this signature in database
GPG key ID: 0B25E636FBA7E4CB

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