show goversion and goos/goarch on admin page

This commit is contained in:
Mechiel Lukkien
2024-03-11 08:58:40 +01:00
parent b115c7b10d
commit 4699504c9f
6 changed files with 17 additions and 5 deletions

View File

@ -1479,7 +1479,7 @@ const crumbs = (...l) => [
dom.br()
];
const errmsg = (err) => '' + (err.message || '(no error message)');
const footer = dom.div(style({ marginTop: '6ex', opacity: 0.75 }), link('https://www.xmox.nl', 'mox'), ' ', moxversion);
const footer = dom.div(style({ marginTop: '6ex', opacity: 0.75 }), link('https://www.xmox.nl', 'mox'), ' ', moxversion, ' ', moxgoversion, ' ', moxgoos, '/', moxgoarch);
const age = (date, future, nowSecs) => {
if (!nowSecs) {
nowSecs = new Date().getTime() / 1000;