fix: load API keys from .env at runtime — never embed credentials in cron payloads or source code
This commit is contained in:
@@ -4,6 +4,10 @@
|
||||
* Searches LinkedIn + Wellfound and populates the jobs queue
|
||||
* Run via cron or manually: node job_searcher.mjs
|
||||
*/
|
||||
import { loadEnv } from './lib/env.mjs';
|
||||
loadEnv(); // load .env before anything else
|
||||
/**
|
||||
*/
|
||||
import { dirname, resolve } from 'path';
|
||||
import { fileURLToPath } from 'url';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user