diff 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
parents 3a06dea21ea1
children 6b2a1c9ef6e2
line wrap: on
line diff
--- 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";
 	};