From dcb15309805e77b9451f5cb26443df016eddf1fb Mon Sep 17 00:00:00 2001 From: Zed Spencer-Milnes Date: Tue, 2 Apr 2024 14:01:33 +0100 Subject: [PATCH] Correct config for edit url --- docusaurus.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 691aa1a..0bf33f2 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -30,7 +30,7 @@ if(deployURL) { var currentRepository = process.env.GITHUB_REPOSITORY var editUrl = "https://github.com/okd-project/okd-web/tree/main/" if(currentRepository) { - editUrl = "https://github.com/" + editUrl + "/tree/main/" + editUrl = "https://github.com/" + currentRepository + "/tree/main/" } const config: Config = {