From 87f7098319b8493a6dc1273bb67c24847a9a43a0 Mon Sep 17 00:00:00 2001 From: olayway Date: Wed, 18 May 2022 22:00:12 +0200 Subject: [PATCH] [site/config/siteConfig][s]: property name adjstmt --- site/components/Anchor.js | 2 +- site/config/siteConfig.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/site/components/Anchor.js b/site/components/Anchor.js index da9815f..b75dbf4 100644 --- a/site/components/Anchor.js +++ b/site/components/Anchor.js @@ -24,7 +24,7 @@ export const Anchor = (props) => { if (routerPath === '/guide' || !urlIsRelative(url)) { return null } - const currentPageMdUrl = [siteConfig.rawContentBaseUrl, routerPath].join(""); + const currentPageMdUrl = [siteConfig.repoRawContentRoot, routerPath].join(""); return new URL(href, currentPageMdUrl).href; } diff --git a/site/config/siteConfig.js b/site/config/siteConfig.js index 7672dfc..fd765e8 100644 --- a/site/config/siteConfig.js +++ b/site/config/siteConfig.js @@ -5,7 +5,7 @@ const siteConfig = { url: "https://web3.lifeitself.us", repoRoot: "https://github.com/life-itself/web3", repoEditPath: "/edit/main/", - rawContentBaseUrl: "https://raw.githubusercontent.com/life-itself/web3/main", + repoRawContentRoot: "https://raw.githubusercontent.com/life-itself/web3/main", tagline: "", description: "Introductions to key concepts and ideas in crypto and web3. Plus in-depth evaluation of its potential impact.",