Commit 417ec302 authored by Jacob Schatz's avatar Jacob Schatz

Split more consistently.

parent 4b934fea
......@@ -45,7 +45,7 @@ const RepoHelper = {
},
getFilePathFromFullPath(fullPath, branch) {
return fullPath.split(branch)[1];
return fullPath.split(`${Store.projectUrl}/blob/${branch}`)[1];
},
findLanguage(ext, langs) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment