mirror of
https://codeberg.org/ashley/poke.git
synced 2025-06-07 08:02:56 -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();
|
||||
});
|
||||
const { useragent, ...configWithoutUA } = cnf;
|
||||
|
||||
const response = {
|
||||
pt_version: {
|
||||
|
@ -287,7 +288,7 @@ module.exports = function (app, config, renderTemplate) {
|
|||
relaseunixdate,
|
||||
vernum: versionnumber,
|
||||
codename,
|
||||
config: cnf,
|
||||
config: configWithoutUA,
|
||||
system: {
|
||||
ram: `${roundedMemory} GB`,
|
||||
cpu: cpus[0].model,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue