This commit is contained in:
张成
2026-03-18 16:28:26 +08:00
parent 30d127ac0b
commit 6d75720a89
8 changed files with 697 additions and 158 deletions

View File

@@ -57,7 +57,8 @@ export function get_app_config() {
puppeteer_headless: get_bool('PUPPETEER_HEADLESS', false),
chrome_executable_path: (get_env('CHROME_EXECUTABLE_PATH') || '').trim() || path.resolve(__dirname, '../../chrome-win/chrome.exe'),
log_invoke_action: get_bool('LOG_INVOKE_ACTION', true),
auto_close_browser: get_bool('AUTO_CLOSE_BROWSER', true)
auto_close_browser: get_bool('AUTO_CLOSE_BROWSER', true),
enable_stealth: get_bool('ENABLE_STEALTH', true)
}
};

View File

@@ -2,7 +2,6 @@ import { get_app_config } from './app_config.js';
export function get_sequelize_options() {
const cfg = get_app_config();
console.log( 'get_sequelize_options', cfg.mysql );
return {
host: cfg.mysql.host,