Fix urls for ctrl-clicking documentation links

This commit is contained in:
omuretsu 2023-08-21 22:48:57 -04:00
parent d5525f39bc
commit 42d70506cc

@ -20,7 +20,7 @@ export function DocumentationRoot(): React.ReactElement {
}
if (external) {
const ver = CONSTANTS.isDevBranch ? "dev" : "stable";
const url = `https://github.com/bitburner-official/bitburner-src/blob/${ver}/src/Documentation/ui/doc/${newPath}`;
const url = `https://github.com/bitburner-official/bitburner-src/blob/${ver}/src/Documentation/doc/${newPath}`;
window.open(url, "_newtab");
return;
}