Skip to content

Commit 804e649

Browse files
Merge pull request #212 from beakerandjake/feature/211-env-file-for-local-development-not-overriding-values-in-development-workspace
dev .env override workspace .env
2 parents d7c7be3 + 3b6a924 commit 804e649

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ dotenv.config();
1919

2020
// attempt to read an .env file at the root of this repository.
2121
// this helps in local development by having one place to set development settings.
22-
dotenv.config({ path: join(__dirname, '..', '.env') });
22+
dotenv.config({ path: join(__dirname, '..', '.env'), override: true });
2323

2424
export const envOptions = {
2525
suppressTitle: 'AOC_SUPPRESS_TITLE',

0 commit comments

Comments
 (0)