Skip to content

Commit ebc8339

Browse files
committed
feat: Use env variable for a config property
1 parent 8f89f3e commit ebc8339

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server/src/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ dotenv.config({path: path.resolve(__dirname, `../.env.${process.env.NODE_ENV}`)}
99

1010
const config = {
1111
jwtSecret: process.env.JWT_SECRET,
12-
enableVerificationPublishing: true
12+
enableVerificationPublishing: process.env.ENABLE_VERIFY_PUBLISHING
1313
};
1414

1515
export { config };

0 commit comments

Comments
 (0)