mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-06-08 19:52:50 +02:00
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:
@@ -109,13 +109,16 @@ export default {
|
||||
id: 'config-authentication',
|
||||
title: this.$strings.HeaderAuthentication,
|
||||
path: '/config/authentication'
|
||||
},
|
||||
{
|
||||
}
|
||||
]
|
||||
|
||||
if (this.$store.state.pluginsEnabled) {
|
||||
configRoutes.push({
|
||||
id: 'config-plugins',
|
||||
title: 'Plugins',
|
||||
path: '/config/plugins'
|
||||
}
|
||||
]
|
||||
})
|
||||
}
|
||||
|
||||
if (this.currentLibraryId) {
|
||||
configRoutes.push({
|
||||
|
||||
Reference in New Issue
Block a user