From 93c8693ebd55c7836a11e9ed79ab165af9b885ed Mon Sep 17 00:00:00 2001 From: nistormihai Date: Thu, 3 Jul 2014 15:08:22 +0300 Subject: [PATCH] LB-1816: HTML generated by SEO contains references to JS files from nodejs server Fixed versioning for embed. --- plugins/livedesk/gui-resources/templates/configure/embed.dust | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/livedesk/gui-resources/templates/configure/embed.dust b/plugins/livedesk/gui-resources/templates/configure/embed.dust index f80f133a8..2de660a86 100644 --- a/plugins/livedesk/gui-resources/templates/configure/embed.dust +++ b/plugins/livedesk/gui-resources/templates/configure/embed.dust @@ -24,7 +24,7 @@ var liveblog = (function(d){ var ls = d.createElement('script'), s = d.getElementsByTagName('script')[0]; ls.type = "text/javascript"; s.async = true; ls.src = path.indexOf('//') === -1 ? - config.baseUrl + path + '.js?version=' + (config.version || parseInt((new Date()).getTime()/600000)): + config.baseUrl + path + '.js?' + (config.urlArgs || 'version=' + parseInt((new Date()).getTime()/600000)): path; s.parentNode.insertBefore( ls, s ); return ls; };