mod_register_apps/mod_register_apps.lua
changeset 5182 556bf57d6417
parent 5018 eb3f99d0e72d
child 5721 e06af1403a60
--- a/mod_register_apps/mod_register_apps.lua	Wed Feb 22 13:39:01 2023 +0100
+++ b/mod_register_apps/mod_register_apps.lua	Thu Feb 23 21:07:13 2023 +0100
@@ -1,7 +1,7 @@
 -- luacheck: ignore 631
 module:depends("http");
 local http_files
-if prosody.process_type == "prosody" then
+if prosody.process_type then
 	-- Prosody >= 0.12
 	http_files = require "net.http.files";
 else