Diff

plugins/mod_admin_telnet.lua @ 8590:4b5a00fffb22

Merge 0.9->0.10
author Kim Alvefur <zash@zash.se>
date Sat, 10 Mar 2018 20:49:52 +0100
parent 8192:4354f556c5db
parent 8589:4e475ef4b569
child 8591:0c322389f994
child 8921:1c2925376315
line wrap: on
line diff
--- a/plugins/mod_admin_telnet.lua	Fri Mar 09 21:51:06 2018 +0100
+++ b/plugins/mod_admin_telnet.lua	Sat Mar 10 20:49:52 2018 +0100
@@ -1114,7 +1114,7 @@
 			local http_host = module:context(host):get_option_string("http_host");
 			print("HTTP endpoints on "..host..(http_host and (" (using "..http_host.."):") or ":"));
 			for _, provider in ipairs(http_apps) do
-				local url = module:context(host):http_url(provider.name);
+				local url = module:context(host):http_url(provider.name, provider.default_path);
 				print("", url);
 			end
 			print("");