mod_conversejs: Generate 'assets_path' to fix locating certain resources
authorKim Alvefur <zash@zash.se>
Sat, 26 Sep 2020 00:22:57 +0200
changeset 4157 4ee2a90d3818
parent 4155 fa79d19d0fdd
child 4158 a2d5834d4a9e
mod_conversejs: Generate 'assets_path' to fix locating certain resources
mod_conversejs/mod_conversejs.lua
--- a/mod_conversejs/mod_conversejs.lua	Wed Sep 23 19:55:46 2020 +0200
+++ b/mod_conversejs/mod_conversejs.lua	Sat Sep 26 00:22:57 2020 +0200
@@ -92,6 +92,7 @@
 		domain_placeholder = module.host;
 		allow_registration = allow_registration;
 		registration_domain = allow_registration and module.host or nil;
+		assets_path = cdn_url..version.."/dist/";
 		view_mode = "fullscreen";
 	};