1
0
mirror of https://git.tuxpa.in/a/code-server.git synced 2024-12-28 21:25:25 +00:00

plugin.ts: Fix usage of routerPath in mount

This commit is contained in:
Anmol Sethi 2020-11-05 14:17:13 -05:00
parent 14f408a837
commit 9453f891df
No known key found for this signature in database
GPG Key ID: 8CEF1878FF10ADEB

View File

@ -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())
}
}