From 5d25a6498b99e8760d4fea2d01c7d4c715ec8764 Mon Sep 17 00:00:00 2001 From: Benedikt Terhechte Date: Thu, 29 Dec 2022 11:57:13 +0100 Subject: [PATCH] Move property so it is in the right category index_on_404 was never used with the default config because the property is set on `web.watcher` and not on `web.app` --- src/assets/dioxus.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/assets/dioxus.toml b/src/assets/dioxus.toml index 42a1bd3f1..3827d0f8f 100644 --- a/src/assets/dioxus.toml +++ b/src/assets/dioxus.toml @@ -19,10 +19,10 @@ asset_dir = "public" # HTML title tag content title = "Dioxus | An elegant GUI library for Rust" -index_on_404 = true - [web.watcher] +index_on_404 = true + watch_path = ["src"] # include `assets` in web platform @@ -44,4 +44,4 @@ script = [] available = true -required = [] \ No newline at end of file +required = []