Skip to content

Consider using path.join or path.resolve (with __dirname) to construct the .env file path for OS-independent path resolution. #24

@Nostromos

Description

@Nostromos

Consider using path.join or path.resolve (with __dirname) to construct the .env file path for OS-independent path resolution.

dotenv.config({ path: path.resolve(__dirname, '../../.env') });

Originally posted by @Copilot in #23 (comment)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions