mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-23 16:44:18 +00:00
Merge pull request #686 from SISheogorath/feature/configVersion
Load version from package.json
This commit is contained in:
commit
60005d3039
1 changed files with 3 additions and 1 deletions
|
@ -13,8 +13,10 @@ const debugConfig = {
|
||||||
debug: (env === Environment.development)
|
debug: (env === Environment.development)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const {version} = require(path.join(appRootPath, 'package.json'))
|
||||||
|
|
||||||
const packageConfig = {
|
const packageConfig = {
|
||||||
version: '1.0.0-ce',
|
version: version,
|
||||||
minimumCompatibleVersion: '0.5.0'
|
minimumCompatibleVersion: '0.5.0'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue