mirror of
https://codeberg.org/ashley/poke.git
synced 2025-06-08 13:03:02 -04:00
Update src/libpoketube/init/pages-api.js
This commit is contained in:
parent
2202193d23
commit
18635eca02
1 changed files with 2 additions and 1 deletions
|
@ -275,6 +275,7 @@ module.exports = function (app, config, renderTemplate) {
|
||||||
|
|
||||||
latestCommitHash = stdout.trim();
|
latestCommitHash = stdout.trim();
|
||||||
});
|
});
|
||||||
|
const { useragent, ...configWithoutUA } = cnf;
|
||||||
|
|
||||||
const response = {
|
const response = {
|
||||||
pt_version: {
|
pt_version: {
|
||||||
|
@ -287,7 +288,7 @@ module.exports = function (app, config, renderTemplate) {
|
||||||
relaseunixdate,
|
relaseunixdate,
|
||||||
vernum: versionnumber,
|
vernum: versionnumber,
|
||||||
codename,
|
codename,
|
||||||
config: cnf,
|
config: configWithoutUA,
|
||||||
system: {
|
system: {
|
||||||
ram: `${roundedMemory} GB`,
|
ram: `${roundedMemory} GB`,
|
||||||
cpu: cpus[0].model,
|
cpu: cpus[0].model,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue