Skip to content

Commit c86d739

Browse files
committed
Use system data directory for plugins
1 parent a44b445 commit c86d739

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node/plugin.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ const _loadPlugins = async (pluginDir: string, httpServer: HttpServer, args: Arg
6969
* `CS_PLUGIN` (also colon-separated).
7070
*/
7171
export const loadPlugins = async (httpServer: HttpServer, args: Args): Promise<void> => {
72-
const pluginPath = process.env.CS_PLUGIN_PATH || `${path.join(paths.data, "plugins")}:/etc/code-server/plugins`
72+
const pluginPath = process.env.CS_PLUGIN_PATH || `${path.join(paths.data, "plugins")}:/usr/share/code-server/plugins`
7373
const plugin = process.env.CS_PLUGIN || ""
7474
await Promise.all([
7575
// Built-in plugins.

0 commit comments

Comments
 (0)