From efb5baec83a745e7783694b9cf24898b54e8ad6c Mon Sep 17 00:00:00 2001 From: Marshall Walker Date: Tue, 9 Aug 2022 10:54:00 -0700 Subject: [PATCH] refactor: simplify manifest route (#5219) Co-authored-by: Joe Previte --- src/node/routes/vscode.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node/routes/vscode.ts b/src/node/routes/vscode.ts index a0ba3869b..961b46c0f 100644 --- a/src/node/routes/vscode.ts +++ b/src/node/routes/vscode.ts @@ -170,7 +170,7 @@ export class CodeServerRouteWrapper { constructor() { this.router.get("/", this.ensureCodeServerLoaded, this.$root) - this.router.get(/manifest.json$/, this.manifest) + this.router.get("/manifest.json", this.manifest) this.router.all("*", ensureAuthenticated, this.ensureCodeServerLoaded, this.$proxyRequest) this._wsRouterWrapper.ws("*", ensureAuthenticated, this.ensureCodeServerLoaded, this.$proxyWebsocket) }