mirror of
https://github.com/informaticker/discord-jellyfin-bot.git
synced 2024-11-23 18:21:55 +01:00
fix parseENV error
This commit is contained in:
parent
85b1521cb9
commit
11c5c97f9c
@ -6,5 +6,4 @@ WORKDIR /app
|
||||
RUN npm install
|
||||
RUN npm run postinstall
|
||||
|
||||
CMD node parseENV.js
|
||||
CMD npm run start
|
||||
CMD node parseENV.js && npm run start
|
@ -5,7 +5,7 @@ const configfile = require(filename);
|
||||
if(!configfile["discord-prefix"])
|
||||
configfile["discord-prefix"]=process.env.DISCORD_PREFIX;
|
||||
if(!configfile["token"])
|
||||
onfigfile["token"]=process.env.DISCORD_TOKEN;
|
||||
configfile["token"]=process.env.DISCORD_TOKEN;
|
||||
if(!configfile["server-adress"])
|
||||
configfile["server-adress"]=process.env.JELLYFIN_SERVER_ADDRESS;
|
||||
if(!configfile["jellyfin-username"])
|
||||
|
Loading…
Reference in New Issue
Block a user