diff options
Diffstat (limited to 'app/config/info.ts')
| -rw-r--r-- | app/config/info.ts | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/app/config/info.ts b/app/config/info.ts new file mode 100644 index 0000000..da1b390 --- /dev/null +++ b/app/config/info.ts @@ -0,0 +1,16 @@ +import os from 'os'; + +const buildInfo = { + date: new Date(), + os: { + hostname: os.hostname(), + platform: os.platform(), + release: os.release(), + type: os.type(), + }, + panulat: { + version: process.env.npm_package_version, + }, +}; + +export default buildInfo; |
