mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-10 01:15:06 +02:00
Update:Send source back with auth request
This commit is contained in:
parent
f083d4b5f6
commit
8beac53f5f
8 changed files with 29 additions and 13 deletions
|
@ -35,9 +35,9 @@ const RssFeedManager = require('./managers/RssFeedManager')
|
|||
|
||||
class Server {
|
||||
constructor(SOURCE, PORT, HOST, UID, GID, CONFIG_PATH, METADATA_PATH) {
|
||||
this.Source = SOURCE
|
||||
this.Port = PORT
|
||||
this.Host = HOST
|
||||
global.Source = SOURCE
|
||||
global.Uid = isNaN(UID) ? 0 : Number(UID)
|
||||
global.Gid = isNaN(GID) ? 0 : Number(GID)
|
||||
global.ConfigPath = Path.normalize(CONFIG_PATH)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue