diff --git a/js/ditto.js b/js/ditto.js index dd6e66a..d1d6a96 100644 --- a/js/ditto.js +++ b/js/ditto.js @@ -211,8 +211,8 @@ function router() { DISQUS.reset({ reload: true, config: function () { - this.page.identifier = "newidentifier"; - this.page.url = "http://example.com/#!newthread"; + this.page.identifier = location.hash; + this.page.url = 'http://'+location.host+'/#!'+location.hash.replace("#", ""); } });