Diff

plugins/mod_http_files.lua @ 12387:05c250fa335a

Spelling: Fix various spelling mistakes (thanks timeless) Words, sometimes I wonder how they even work Maybe I missed something.
author Kim Alvefur <zash@zash.se>
date Mon, 07 Mar 2022 00:13:56 +0100
parent 10778:a62b981db0e2
child 12597:ba05f7e5f2a2
line wrap: on
line diff
--- a/plugins/mod_http_files.lua	Sun Mar 06 15:13:50 2022 +0100
+++ b/plugins/mod_http_files.lua	Mon Mar 07 00:13:56 2022 +0100
@@ -75,12 +75,12 @@
 		opts.index_files = dir_indices;
 	end
 	-- TODO Crank up to warning
-	module:log("debug", "%s should be updated to use 'net.http.files' insead of mod_http_files", get_calling_module());
+	module:log("debug", "%s should be updated to use 'net.http.files' instead of mod_http_files", get_calling_module());
 	return fileserver.serve(opts);
 end
 
 function wrap_route(routes)
-	module:log("debug", "%s should be updated to use 'net.http.files' insead of mod_http_files", get_calling_module());
+	module:log("debug", "%s should be updated to use 'net.http.files' instead of mod_http_files", get_calling_module());
 	for route,handler in pairs(routes) do
 		if type(handler) ~= "function" then
 			routes[route] = fileserver.serve(handler);