这两天发现gittalk,gitment 这 些第三方app存在很大的风险,就适配了一个安全隐患小一点的utterances#583
Open
txmu wants to merge 5 commits intoblinkfox:developfrom
Open
这两天发现gittalk,gitment 这 些第三方app存在很大的风险,就适配了一个安全隐患小一点的utterances#583txmu wants to merge 5 commits intoblinkfox:developfrom
txmu wants to merge 5 commits intoblinkfox:developfrom
Conversation
Contributor
|
借pr问个问题:我一开始就发现了这个隐患于是 是把自己的个性化后的主题repo设为的private的,请问hexo generate出来的static files也会含有这些信息吗?有的话应该是哈希过的? |
Contributor
Author
|
我正在尝试适配vssue(gitlab版本)来减少隐患,不过这需要评论者也有gitlab账号,而且必须登录才能看到评论。gitee版限制太多(例如不支持表情)。github版我不知道token在哪里,其它的托管平台用的人更少。。。所以还是要用gitlab版 |
Contributor
Author
|
我也挺希望有人能把DisqusJS适配一下,方便墙内使用(话说next主题好像就有现成的代码,我去尝试借鉴一下) |
Owner
|
@txmu 你的文件没有提交全。 |
blinkfox
requested changes
Dec 1, 2020
|
|
||
| <% if (theme.disqusjs && theme.disqusjs.enable) { %> | ||
| <%- partial('_partial/disqusjs/disqusjs.js') %> | ||
| <% } %> |
Owner
There was a problem hiding this comment.
@txmu 我没看到你有提交 vssue.ejs、disqusjs.ejs, utterances.ejs 几个文件。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
适配