mirror of
https://github.com/coder/code-server.git
synced 2024-11-27 00:10:01 +03:00
plugin.ts: Fix usage of routerPath in mount
This commit is contained in:
parent
14f408a837
commit
9453f891df
@ -86,7 +86,7 @@ export class PluginAPI {
|
||||
*/
|
||||
public mount(r: express.Router): void {
|
||||
for (const [, p] of this.plugins) {
|
||||
r.use(`/${p.routerPath}`, p.router())
|
||||
r.use(`${p.routerPath}`, p.router())
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user