From f79b38d25a8beb977e627499b9e108b148ee1563 Mon Sep 17 00:00:00 2001 From: Joe Previte Date: Thu, 14 Jul 2022 09:25:48 -0700 Subject: [PATCH] fix(workbench): use window.location without origin (#5332) When using `window.location.origin` to create a new URL for loading web packages, it constructs a URL that is not relative, leading to the terminal breaking when code-server is served not via the root (i.e. /ide instead of /). --- patches/base-path.diff | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/patches/base-path.diff b/patches/base-path.diff index bf169846..49cef29f 100644 --- a/patches/base-path.diff +++ b/patches/base-path.diff @@ -86,6 +86,15 @@ Index: code-server/lib/vscode/src/vs/code/browser/workbench/workbench.html +@@ -38,7 +38,7 @@ + + +