mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
make smartface config more self contained
This commit is contained in:
parent
837e156abb
commit
f8a99d2bca
@ -86,9 +86,11 @@ define(function(require, exports, module) {
|
||||
}]);
|
||||
|
||||
statics.addStatics(externalPlugins.map(function(plugin) {
|
||||
if (typeof plugin == "string")
|
||||
plugin = { path: plugin, mount: plugin};
|
||||
return {
|
||||
path: __dirname + "/../../node_modules/" + plugin,
|
||||
mount: "/plugins/" + plugin
|
||||
path: __dirname + "/../../node_modules/" + plugin.path,
|
||||
mount: "/plugins/" + plugin.mount
|
||||
};
|
||||
}));
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user