Disqus load
This commit is contained in:
parent
ac0cc1ea04
commit
10de6cd3d9
|
@ -75,7 +75,7 @@
|
|||
<script type="text/javascript">
|
||||
var disqus_shortname = 'wide-playground';
|
||||
var disqus_identifier = {{.fileName}};
|
||||
var disqus_url = window.location.protocol + "//" + {{.conf.Server}} + {{.conf.Context}} + "/playground/" + {{.fileName}};
|
||||
var disqus_url = window.location.protocol + "//" + window.location.host + {{.conf.Context}} + "/playground/" + {{.fileName}};
|
||||
(function() {
|
||||
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
||||
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
|
||||
|
@ -97,7 +97,6 @@
|
|||
<script>
|
||||
var config = {
|
||||
"context": "{{.conf.Context}}",
|
||||
"server": "{{.conf.Server}}",
|
||||
"staticServer": "{{.conf.StaticServer}}",
|
||||
"channel": "{{.conf.Channel}}",
|
||||
"wideSessionId": "{{.sid}}",
|
||||
|
|
Loading…
Reference in New Issue