From 994712ed85d4c09f817c08b373d5cf4748191b94 Mon Sep 17 00:00:00 2001 From: miruslu Date: Mon, 4 Nov 2024 11:55:06 +0800 Subject: [PATCH] docs: add doc comment for `index_listing` --- src/http_layer/server.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/http_layer/server.rs b/src/http_layer/server.rs index 088a9f3..4b7f1f5 100644 --- a/src/http_layer/server.rs +++ b/src/http_layer/server.rs @@ -28,6 +28,7 @@ pub(crate) async fn serve(tcp_listener: TcpListener, router: Router) { pub struct Options { /// Always hard reload the page instead of hot-reload pub hard_reload: bool, + /// Show page list of the current URL if `index.html` does not exist pub index_listing: bool, }