changeset 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 fa79d19d0fdd
children a2d5834d4a9e
files mod_conversejs/mod_conversejs.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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";
 	};