Diff

mod_rest/apidemo.lib.lua @ 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
parent 4550:0befc680970b
child 4928:d5612dcf6733
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();