changeset 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 (2020-10-12)
parents 1be37846314a
children 13bcdfd9c714
files mod_welcome_page/mod_welcome_page.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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 });