Make sub-paths work

This commit is contained in:
Asher
2019-07-22 16:00:59 -05:00
parent cd54aec2f9
commit 09cd1e8540
7 changed files with 379 additions and 42 deletions

View File

@@ -164,7 +164,8 @@ export class FileProviderChannel implements IServerChannel, IDisposable {
}
private transform(resource: UriComponents): URI {
// HACK: for now assume /out is relative to the build.
// HACK: for now assume /out is relative to the build (used for the
// walkthrough content).
if (resource.path.indexOf("/out") === 0) {
resource.path = this.environmentService.appRoot + resource.path;
}