Older versions of artalk js cannot connect to newer versions of artalk backend, upgrade the version in the configuration file;
Passing the site name to artalk in templates using <%= for escaping will cause artalk to not recognize the site correctly, use <%- instead.
For example, if my blog is named 'Frytea's Blog', but in artalk I see requests like 'Frytea's Blog', which causes artalk to be unable to find the corresponding site name, resulting in a 404 error.
修复以下问题: 1、低版本的 artalk js 无法对接高版本的 artalk 后端,升级配置文件中的版本; 2、模板中向 artalk 传递 site 名称使用了
<%=
转义会导致 artalk 无法对应站点,改用<%-
解决。例如我的博客名叫
Frytea's Blog
,但是在 artalk 看到请求的是类似Frytea's Blog
导致 artalk 无法找到对应名字的站点,最终得到 404 错误。Fix the following issues:
<%=
for escaping will cause artalk to not recognize the site correctly, use<%-
instead.For example, if my blog is named 'Frytea's Blog', but in artalk I see requests like 'Frytea's Blog', which causes artalk to be unable to find the corresponding site name, resulting in a 404 error.