changeset 2947:faec53f4b31e

mod_http_upload: Include the current VirtualHost name in greeting to help with debugging
author Kim Alvefur <zash@zash.se>
date Sun, 25 Mar 2018 20:27:14 +0200
parents dfac28504e86
children 7646f565c8ca
files mod_http_upload/mod_http_upload.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_http_upload/mod_http_upload.lua	Fri Mar 23 22:38:46 2018 +0100
+++ b/mod_http_upload/mod_http_upload.lua	Sun Mar 25 20:27:14 2018 +0200
@@ -310,7 +310,7 @@
 
 local function serve_hello(event)
 	event.response.headers.content_type = "text/html;charset=utf-8"
-	return "<!DOCTYPE html>\n<h1>Hello from mod_"..module.name.."!</h1>\n";
+	return "<!DOCTYPE html>\n<h1>Hello from mod_"..module.name.." on "..module.host.."!</h1>\n";
 end
 
 module:provides("http", {