Pitu 6 年之前
父节点
当前提交
25c5a06ec3
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src/api/structures/Route.js
  2. 1 1
      src/api/utils/Util.js

+ 1 - 1
src/api/structures/Route.js

@@ -4,7 +4,7 @@ const db = require('knex')({
 	connection: {
 		host: process.env.DB_HOST,
 		user: process.env.DB_USER,
-		password: process.env.DB_PASS,
+		password: process.env.DB_PASSWORD,
 		database: process.env.DB_DATABASE
 	}
 });

+ 1 - 1
src/api/utils/Util.js

@@ -8,7 +8,7 @@ const db = require('knex')({
 	connection: {
 		host: process.env.DB_HOST,
 		user: process.env.DB_USER,
-		password: process.env.DB_PASS,
+		password: process.env.DB_PASSWORD,
 		database: process.env.DB_DATABASE
 	}
 });