mirror of
https://github.com/coder/code-server.git
synced 2026-05-07 12:57:26 +02:00
Make sub-paths work
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user