feat(comments): add support to Gitalk proxy parameter (#1012)

Co-authored-by: Jimmy Cai <hi@jimmycai.com>
This commit is contained in:
DashJay
2024-09-07 17:18:03 +02:00
committed by GitHub
co-authored by Jimmy Cai
parent 12f31dfd8a
commit 0558108e30
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -156,6 +156,7 @@ params:
repo: repo:
clientID: clientID:
clientSecret: clientSecret:
proxy:
cusdis: cusdis:
host: host:
@@ -15,6 +15,7 @@
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 https://github.com/gitalk/gitalk/issues/102 id: md5(location.pathname), // Max Location.pathname Legth:75 https://github.com/gitalk/gitalk/issues/102
proxy: {{- .proxy -}},
}); });
(function () { (function () {
if ( if (