Skip to content

Commit

Permalink
feat: load version from package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
zeim839 committed May 1, 2024
1 parent b7b04bf commit aa79bb7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion utils/config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
const VERSION = 'V1.0.2'
const { version } = require('../package.json')
const VERSION = 'V' + version
const NODE_ENV = process.env.NODE_ENV || 'development'
const MONGO_URI = process.env.MONGO_URI || 'mongodb+srv://dev:[email protected]/?retryWrites=true&w=majority'

Expand Down

0 comments on commit aa79bb7

Please sign in to comment.