nodebb-plugin-freelog
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -17,7 +17,6 @@ const plugin = {}; | ||
const env = process.env.NODE_ENV; | ||
const signTid = env === 'production' ? 3 : 3; // 根据环境设定签到帖ID. | ||
const signTid = env === 'production' ? '3' : '3'; // 根据环境设定签到帖ID. 注意是字符串 | ||
console.log('签到帖子ID' + signTid, data.data.tid !== signTid, data.data); | ||
if (data.data.tid !== signTid) { | ||
console.log('不符合~'); | ||
return; | ||
@@ -24,0 +23,0 @@ } |
@@ -5,3 +5,3 @@ { | ||
"description": "NodeBB Forum", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"homepage": "http://www.nodebb.org", | ||
@@ -8,0 +8,0 @@ "repository": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9024
195