mirror of
https://github.com/Colin-XKL/Colinx-Blog.git
synced 2026-01-11 18:21:28 +08:00
use decoded uri as key
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
repo: 'Colinx-Blog', // The repository of store comments,
|
||||
owner: 'Colin-XKL',
|
||||
admin: ['Colin-XKL'],
|
||||
id: location.pathname, // Ensure uniqueness and length less than 50
|
||||
id: decodeURI(location.pathname), // Ensure uniqueness and length less than 50
|
||||
distractionFreeMode: false // Facebook-like distraction free mode
|
||||
});
|
||||
gitalk.render('gitalk-container');
|
||||
|
||||
Reference in New Issue
Block a user