links search

This commit is contained in:
2025-03-31 16:31:54 +08:00
parent 26db8fe76d
commit d75110d6b8
2 changed files with 2 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ const path = require('path');
const fs = require('fs'); const fs = require('fs');
// 加载环境变量 // 加载环境变量
dotenv.config({ path: path.resolve(__dirname, '../../../.env') }); dotenv.config({ path: path.resolve(__dirname, '../../../.env.local') });
// 定义输出目录 // 定义输出目录
const DB_REPORTS_DIR = path.resolve(__dirname, '../db-reports'); const DB_REPORTS_DIR = path.resolve(__dirname, '../db-reports');

View File

@@ -5,7 +5,7 @@ const path = require('path');
const fs = require('fs'); const fs = require('fs');
// 加载环境变量 // 加载环境变量
dotenv.config({ path: path.resolve(__dirname, '../../../.env') }); dotenv.config({ path: path.resolve(__dirname, '../../../.env.local') });
// 获取数据库连接字符串 // 获取数据库连接字符串
const databaseUrl = process.env.DATABASE_URL; const databaseUrl = process.env.DATABASE_URL;