Comparison

mod_invites_page/mod_invites_page.lua @ 5676:62c6e17a5e9d

Merge
author Stephen Paul Weber <singpolyma@singpolyma.net>
date Mon, 18 Sep 2023 08:24:19 -0500
parent 5630:efdaffc878a9
child 5662:ebc09159b94a
comparison
equal deleted inserted replaced
5675:eade7ff9f52c 5676:62c6e17a5e9d
37 if prosody.process_type == "prosody" then 37 if prosody.process_type == "prosody" then
38 http_files = require "net.http.files"; 38 http_files = require "net.http.files";
39 else 39 else
40 http_files = module:depends"http_files"; 40 http_files = module:depends"http_files";
41 end 41 end
42 elseif prosody.process_type and module.get_option_period then
43 module:depends("http");
44 http_files = require "net.http.files";
42 end 45 end
43 -- Calculate automatic base_url default 46 -- Calculate automatic base_url default
44 base_url = module.http_url and module:http_url(); 47 base_url = module.http_url and module:http_url();
45 48
46 -- Load site apps info 49 -- Load site apps info