diff --git a/src/SourceIndexServer/wwwroot/scripts.js b/src/SourceIndexServer/wwwroot/scripts.js index 91372cea8..c46fb433e 100644 --- a/src/SourceIndexServer/wwwroot/scripts.js +++ b/src/SourceIndexServer/wwwroot/scripts.js @@ -139,7 +139,7 @@ function processHash() { fileUrl = fileUrl + "#" + createSafeLineNumber(hashOrLine); } - redirectLocation(s, fileUrl); + redirectLocation(s, "/" + fileUrl); var pathParts = potentialFile.split("/"); if (pathParts.length > 1) {