Cannot read property ‘enable_sync’ of undefined

报错:Cannot read property ‘enable_sync’ of undefined
解决:在blog站点下的配置文件_config.yml添加以下代码

leancloud_counter_security:
  enable_sync: true
  app_id: rjEGiCa******-gzGzoHsz
  app_key: zWE2Bry******8HmPyTpBQa
  username: # Will be asked while deploying if is left blank
  password: # Recommmended to be left blank. Will be asked while deploying if is left blank

你可能感兴趣的:(Hexo)