Merge pull request #1453 from cdr/proxy

HTTP proxy
This commit is contained in:
Asher
2020-04-08 12:44:29 -05:00
committed by GitHub
14 changed files with 373 additions and 47 deletions

View File

@@ -61,7 +61,7 @@ export class UpdateHttpProvider extends HttpProvider {
this.ensureAuthenticated(request)
this.ensureMethod(request)
if (route.requestPath !== "/index.html") {
if (!this.isRoot(route)) {
throw new HttpError("Not found", HttpCode.NotFound)
}