-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -450,9 +450,9 @@ <h1 class="text title"><span>Project Pondering</span></h1> | |
|
||
function load_twikoo() { | ||
if (!el) return; | ||
utils.js('https://gcore.jsdelivr.net/npm/[email protected].39/dist/twikoo.all.min.js', {defer: true}).then(function () { | ||
utils.js('https://gcore.jsdelivr.net/npm/[email protected].8/dist/twikoo.all.min.js', {defer: true}).then(function () { | ||
const path = el.getAttribute('comment_id') ?? decodeURI(window.location.pathname); | ||
twikoo.init(Object.assign({"js":"https://gcore.jsdelivr.net/npm/[email protected].39/dist/twikoo.all.min.js","envId":"https://twikoo-api.ekyfig.top"}, { | ||
twikoo.init(Object.assign({"js":"https://gcore.jsdelivr.net/npm/[email protected].8/dist/twikoo.all.min.js","envId":"https://twikoo-api.ekyfig.top/.netlify/functions/twikoo"}, { | ||
el: '#twikoo_container', | ||
path: path, | ||
})); | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -472,9 +472,9 @@ <h2 id="常见问题"><a href="#常见问题" class="headerlink" title="常见 | |
|
||
function load_twikoo() { | ||
if (!el) return; | ||
utils.js('https://gcore.jsdelivr.net/npm/[email protected].39/dist/twikoo.all.min.js', {defer: true}).then(function () { | ||
utils.js('https://gcore.jsdelivr.net/npm/[email protected].8/dist/twikoo.all.min.js', {defer: true}).then(function () { | ||
const path = el.getAttribute('comment_id') ?? decodeURI(window.location.pathname); | ||
twikoo.init(Object.assign({"js":"https://gcore.jsdelivr.net/npm/[email protected].39/dist/twikoo.all.min.js","envId":"https://twikoo-api.ekyfig.top"}, { | ||
twikoo.init(Object.assign({"js":"https://gcore.jsdelivr.net/npm/[email protected].8/dist/twikoo.all.min.js","envId":"https://twikoo-api.ekyfig.top/.netlify/functions/twikoo"}, { | ||
el: '#twikoo_container', | ||
path: path, | ||
})); | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -455,9 +455,9 @@ <h3 id="拨号音效"><a href="#拨号音效" class="headerlink" title="拨号 | |
|
||
function load_twikoo() { | ||
if (!el) return; | ||
utils.js('https://gcore.jsdelivr.net/npm/[email protected].39/dist/twikoo.all.min.js', {defer: true}).then(function () { | ||
utils.js('https://gcore.jsdelivr.net/npm/[email protected].8/dist/twikoo.all.min.js', {defer: true}).then(function () { | ||
const path = el.getAttribute('comment_id') ?? decodeURI(window.location.pathname); | ||
twikoo.init(Object.assign({"js":"https://gcore.jsdelivr.net/npm/[email protected].39/dist/twikoo.all.min.js","envId":"https://twikoo-api.ekyfig.top"}, { | ||
twikoo.init(Object.assign({"js":"https://gcore.jsdelivr.net/npm/[email protected].8/dist/twikoo.all.min.js","envId":"https://twikoo-api.ekyfig.top/.netlify/functions/twikoo"}, { | ||
el: '#twikoo_container', | ||
path: path, | ||
})); | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -481,9 +481,9 @@ <h3 id="使用反向代理"><a href="#使用反向代理" class="headerlink" tit | |
|
||
function load_twikoo() { | ||
if (!el) return; | ||
utils.js('https://gcore.jsdelivr.net/npm/[email protected].39/dist/twikoo.all.min.js', {defer: true}).then(function () { | ||
utils.js('https://gcore.jsdelivr.net/npm/[email protected].8/dist/twikoo.all.min.js', {defer: true}).then(function () { | ||
const path = el.getAttribute('comment_id') ?? decodeURI(window.location.pathname); | ||
twikoo.init(Object.assign({"js":"https://gcore.jsdelivr.net/npm/[email protected].39/dist/twikoo.all.min.js","envId":"https://twikoo-api.ekyfig.top"}, { | ||
twikoo.init(Object.assign({"js":"https://gcore.jsdelivr.net/npm/[email protected].8/dist/twikoo.all.min.js","envId":"https://twikoo-api.ekyfig.top/.netlify/functions/twikoo"}, { | ||
el: '#twikoo_container', | ||
path: path, | ||
})); | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -427,9 +427,9 @@ <h1><img id='error' src='https://gcore.jsdelivr.net/gh/cdn-x/[email protected]/ | |
|
||
function load_twikoo() { | ||
if (!el) return; | ||
utils.js('https://gcore.jsdelivr.net/npm/[email protected].39/dist/twikoo.all.min.js', {defer: true}).then(function () { | ||
utils.js('https://gcore.jsdelivr.net/npm/[email protected].8/dist/twikoo.all.min.js', {defer: true}).then(function () { | ||
const path = el.getAttribute('comment_id') ?? decodeURI(window.location.pathname); | ||
twikoo.init(Object.assign({"js":"https://gcore.jsdelivr.net/npm/[email protected].39/dist/twikoo.all.min.js","envId":"https://twikoo-api.ekyfig.top"}, { | ||
twikoo.init(Object.assign({"js":"https://gcore.jsdelivr.net/npm/[email protected].8/dist/twikoo.all.min.js","envId":"https://twikoo-api.ekyfig.top/.netlify/functions/twikoo"}, { | ||
el: '#twikoo_container', | ||
path: path, | ||
})); | ||
|