diff options
| author | Leonardo Bishop <me@leonardobishop.com> | 2023-08-27 11:24:03 +0100 |
|---|---|---|
| committer | Leonardo Bishop <me@leonardobishop.com> | 2023-08-27 11:24:03 +0100 |
| commit | 8f4f459f8cc34c89c40f67ab9f5f8c553547c881 (patch) | |
| tree | 802eb1c8836fce6391dcff198ddf31e2d222c7c2 /app/config | |
| parent | ce7ec8a43d874fecec705cfc570fd864a905d1d2 (diff) | |
Fix build date to be constant for all renders
Diffstat (limited to 'app/config')
| -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; |
