firekylin / firekylin

A Simple & Fast Node.js Blogging Platform Base On ThinkJS3 & React & ES2015+
https://firekylin.lithub.cc
GNU General Public License v3.0
1.83k stars 390 forks source link

遇到两个问题 #20

Closed gitmithy closed 8 years ago

gitmithy commented 8 years ago

安装之后运行时报 [2016-01-23 13:34:23] [Warning] db.name is deprecated, use db.database instead [2016-01-23 13:34:23] [Warning] db.pwd is deprecated, use db.password instead 点继续阅读没有进入文章详情(文章详情页依然显示列表)

zhiquan-yu commented 8 years ago

将 db.js 配置文件的 name 改为 database,pwd 改为 password。

lizheming commented 8 years ago

ThinkJS 升级到 2.1 之后 name 和 pwd 改成 database 和 password 了。按照 ls 说的修改下即可。

solarhell commented 8 years ago

deprecated, 应该就是说用法被废弃了 建议看一下thinkjs2.1的changelog