Update plugins to only be enabled when ALLOW_PLUGINS=1 env variable is set or AllowPlugins: true in dev.js

This commit is contained in:
advplyr 2024-12-22 15:27:12 -06:00
parent 50e84fc2d5
commit e7e0056288
6 changed files with 37 additions and 17 deletions

View file

@ -170,7 +170,10 @@ export default {
this.$store.commit('setServerSettings', serverSettings)
this.$store.commit('setSource', Source)
this.$store.commit('libraries/setEReaderDevices', ereaderDevices)
this.$store.commit('setPlugins', plugins)
if (plugins !== undefined) {
this.$store.commit('setPlugins', plugins)
}
this.$setServerLanguageCode(serverSettings.language)
if (serverSettings.chromecastEnabled) {