mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2024-12-20 19:06:06 +01:00
Add app and serverVersion properties to response from /status
This commit is contained in:
parent
309ef807ab
commit
c17540e191
@ -228,6 +228,8 @@ class Server {
|
|||||||
// status check for client to see if server has been initialized
|
// status check for client to see if server has been initialized
|
||||||
// server has been initialized if a root user exists
|
// server has been initialized if a root user exists
|
||||||
const payload = {
|
const payload = {
|
||||||
|
app: 'audiobookshelf',
|
||||||
|
serverVersion: version,
|
||||||
isInit: Database.hasRootUser,
|
isInit: Database.hasRootUser,
|
||||||
language: Database.serverSettings.language,
|
language: Database.serverSettings.language,
|
||||||
authMethods: Database.serverSettings.authActiveAuthMethods,
|
authMethods: Database.serverSettings.authActiveAuthMethods,
|
||||||
|
Loading…
Reference in New Issue
Block a user