ghost博客添加第三方评论valine,模块组件正常显示但是报错code -1,如何解决?

新手上路,请多包涵

1.问题描述:ghost博客添加第三方评论系统valine,模块组件正常显示但是报错:Code -1: Request has been terminated
Possible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.
2.报错显示:

clipboard.png

3.post.hbs代码填写如下:
<div id="vcomments"></div>

            <script>
                new Valine({
                    el: '#vcomments',
                    appId: '<ix65OWK1oO5RNWPa7cfMX5O7-gzGzoHsz>',
                    appKey: '<DRpGjNHJEVb6muuGOIUJN1fL>',
                    notify:false,
                    verify:false,
                    avatar:'mm',
                    placeholder: '请发表您的高见'
                    });
            </script>

请技术大佬看到解答一下,感激不尽!!!

阅读 2.8k
1 个回答
新手上路,请多包涵

同样的问题,我是刚启的时候是可以的,然后shutdown再启动后就一直是这样了,求大神啊

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题