Skip to content

Commit

Permalink
Adapt VS Code’s Workspace state restoration feature to Che world
Browse files Browse the repository at this point in the history
Signed-off-by: Artem Zatsarynnyi <azatsary@redhat.com>
  • Loading branch information
azatsarynnyy committed Nov 14, 2022
1 parent 7e336ec commit f384892
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ export function getSingleFolderWorkspaceIdentifier(folderUri: URI): ISingleFolde
}

function getWorkspaceId(uri: URI): string {
return hash(uri.toString()).toString(16);
return hash(window.location.href + uri.toString()).toString(16);
}

0 comments on commit f384892

Please sign in to comment.