changeset 4728:1c6d353550cc

mod_rest: Correct option name in error message
author Kim Alvefur <zash@zash.se>
date Wed, 27 Oct 2021 14:06:34 +0200
parents e6f46d1b3337
children fae4e1335593
files mod_rest/apidemo.lib.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_rest/apidemo.lib.lua	Tue Oct 26 18:07:35 2021 +0200
+++ b/mod_rest/apidemo.lib.lua	Wed Oct 27 14:06:34 2021 +0200
@@ -11,7 +11,7 @@
 	});
 
 local index do
-	local f = assert(io.open(api_demo.."/index.html"), "'api_demo_resources' should point to the 'dist' directory");
+	local f = assert(io.open(api_demo.."/index.html"), "'rest_demo_resources' should point to the 'dist' directory");
 	index = f:read("*a");
 	f:close();