diff mod_welcome_page/mod_welcome_page.lua @ 4193:8d1e996034ee

mod_welcome_page: Serve from top level path (/) by default
author Kim Alvefur <zash@zash.se>
date Mon, 12 Oct 2020 18:45:01 +0200
parents 9127fa98ee1e
children ffb709728210
line wrap: on
line diff
--- a/mod_welcome_page/mod_welcome_page.lua	Mon Oct 12 18:38:36 2020 +0200
+++ b/mod_welcome_page/mod_welcome_page.lua	Mon Oct 12 18:45:01 2020 +0200
@@ -63,6 +63,7 @@
 local http_files = module:depends("http_files");
 
 module:provides("http", {
+	default_path = "/";
 	route = {
 		["GET"] = serve_page;
 		["GET /*"] = http_files.serve({ path = template_path });