refactor: simplify manifest route (#5219)

Co-authored-by: Joe Previte <jjprevite@gmail.com>
This commit is contained in:
Marshall Walker 2022-08-09 10:54:00 -07:00 committed by GitHub
parent 45e222b3c1
commit efb5baec83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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