feat(xo-server): load plugins from mono-repo

Contrary to 3e3ce543a8, which was reverted,
this implentation properly handle duplicates.
This commit is contained in:
Julien Fontanet 2024-01-16 15:54:12 +01:00
parent cd753acff7
commit fa748ed9de

View File

@ -155,7 +155,7 @@ level = 'info'
[logs.transport.console]
[plugins]
lookupPaths = ['./node_modules', '/usr/local/lib/node_modules']
lookupPaths = ['./node_modules', '../', '/usr/local/lib/node_modules']
[remoteOptions]
mountsDir = '/run/xo-server/mounts'