gitalk Fixed

This commit is contained in:
Cookiekira 2021-09-12 22:03:44 +08:00
parent af2614a020
commit 00bba4bbd5

View File

@ -12,7 +12,7 @@
owner: '{{- .owner -}}', owner: '{{- .owner -}}',
admin: ['{{- .admin -}}'], admin: ['{{- .admin -}}'],
distractionFreeMode: false, // Facebook-like distraction free mode distractionFreeMode: false, // Facebook-like distraction free mode
id: md5(location.pathname) // Max Location.pathname Legth:75 id: md5(location.pathname) // Max Location.pathname Legth:75 https://github.com/gitalk/gitalk/issues/102
}); });
(function() { (function() {
if (["localhost", "127.0.0.1"].indexOf(window.location.hostname) != -1) { if (["localhost", "127.0.0.1"].indexOf(window.location.hostname) != -1) {