mirror of
https://github.com/p-stream/backend.git
synced 2026-01-11 20:10:33 +00:00
Pull backend version from package.json
This commit is contained in:
parent
d55e0897a9
commit
b2400775fb
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ const fragments = {
|
|||
dockerdev: dockerFragment,
|
||||
};
|
||||
|
||||
export const version = '1.0.3';
|
||||
export const version = process.env.npm_package_version ?? 'unknown';
|
||||
|
||||
export const conf = createConfigLoader()
|
||||
.addFromEnvironment('MWB_')
|
||||
|
|
|
|||
Loading…
Reference in a new issue