Software /
code /
prosody-modules
Comparison
mod_conversejs/mod_conversejs.lua @ 4153:4ee2a90d3818
mod_conversejs: Generate 'assets_path' to fix locating certain resources
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 26 Sep 2020 00:22:57 +0200 |
parent | 4147:3a06dea21ea1 |
child | 4165:6b2a1c9ef6e2 |
comparison
equal
deleted
inserted
replaced
4151:fa79d19d0fdd | 4153:4ee2a90d3818 |
---|---|
90 jid = module.host; | 90 jid = module.host; |
91 default_domain = module.host; | 91 default_domain = module.host; |
92 domain_placeholder = module.host; | 92 domain_placeholder = module.host; |
93 allow_registration = allow_registration; | 93 allow_registration = allow_registration; |
94 registration_domain = allow_registration and module.host or nil; | 94 registration_domain = allow_registration and module.host or nil; |
95 assets_path = cdn_url..version.."/dist/"; | |
95 view_mode = "fullscreen"; | 96 view_mode = "fullscreen"; |
96 }; | 97 }; |
97 | 98 |
98 if type(user_options) == "table" then | 99 if type(user_options) == "table" then |
99 for k,v in pairs(user_options) do | 100 for k,v in pairs(user_options) do |