mod_http_index: Hide http apps that haven't set a title by default
authorKim Alvefur <zash@zash.se>
Sat, 23 Nov 2019 04:48:25 +0100
changeset 3760 ba4f45b8678f
parent 3759 bb18a1f5e9d7
child 3761 971417eedfee
mod_http_index: Hide http apps that haven't set a title by default This setting was meant to default to this but by some mistake defaulted to true. Apps that haven't set a title might not be meant to be user facing, so hiding them makes sense.
mod_http_index/mod_http_index.lua
--- a/mod_http_index/mod_http_index.lua	Thu Nov 21 16:35:31 2019 +0100
+++ b/mod_http_index/mod_http_index.lua	Sat Nov 23 04:48:25 2019 +0100
@@ -3,7 +3,7 @@
 
 module:depends"http";
 
-local show_all = module:get_option_boolean(module.name .. "_show_all", true);
+local show_all = module:get_option_boolean(module.name .. "_show_all", false);
 
 local base_template;
 do