mirror of
https://github.com/neynarxyz/create-farcaster-mini-app.git
synced 2025-11-15 23:58:56 -05:00
fix: read .env.local in dev script
This commit is contained in:
parent
08be8e5a9d
commit
f2ec709e2d
@ -6,7 +6,7 @@ import path from 'path';
|
||||
import { fileURLToPath } from 'url';
|
||||
|
||||
// Load environment variables
|
||||
dotenv.config();
|
||||
dotenv.config({ path: '.env.local' });
|
||||
|
||||
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
||||
const projectRoot = path.join(__dirname, '..');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user