Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gitment 对于新页面不会创建新的 issue #182

Open
weihuayi opened this issue Mar 17, 2019 · 1 comment
Open

Gitment 对于新页面不会创建新的 issue #182

weihuayi opened this issue Mar 17, 2019 · 1 comment

Comments

@weihuayi
Copy link

weihuayi commented Mar 17, 2019

我在每一个页面中放入下面的代码:

<script>
var gitment = new Gitment({
  id: 'window.location.pathname', // 可选。默认为 location.href
  owner: 'xxxxxxxx',
  repo: 'xxxxxxxxxx',
  oauth: {
    client_id: '××××××××××××',
    client_secret: 'xxxxxxxxxxxxxxxxxxxxx',
  },
})

结果创建几个页面的 issue 后, 新的页面再加入上面的代码,就不会再创建新的 issue, 就直接用其它页面的 issue. 哪位遇到过类似的情况?如何解决?

@carvendy
Copy link

你检查一下id是否重复了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@weihuayi @carvendy and others