mirror of
https://github.com/coder/code-server.git
synced 2025-08-01 10:56:25 +08:00
Enable loading external plugins
This commit is contained in:
@ -49,4 +49,8 @@ export const loadPlugins = async (httpServer: HttpServer, args: Args): Promise<v
|
||||
logger.warn(error.message)
|
||||
}
|
||||
}
|
||||
|
||||
if (process.env.PLUGIN_DIR) {
|
||||
await loadPlugin(process.env.PLUGIN_DIR, httpServer, args)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user