From 247a9a17e0422a8f69b5c3d0103fa98b8ca74751 Mon Sep 17 00:00:00 2001 From: Mastermindzh Date: Sun, 29 Oct 2023 15:41:11 +0100 Subject: [PATCH] fix: added www --- README.md | 2 +- gatsby-browser.tsx | 2 +- gatsby-ssr.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3d0050c..667497c 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Rickvanlieshout.com -This is the repository for my personal blog/website [rickvanlieshout.com](https://rickvanlieshout.com). +This is the repository for my personal blog/website [rickvanlieshout.com](https://www.rickvanlieshout.com). [![Build Status](https://ci.mastermindzh.tech/api/badges/Mastermindzh/rickvanlieshout.com/status.svg)](https://ci.mastermindzh.tech/Mastermindzh/rickvanlieshout.com) diff --git a/gatsby-browser.tsx b/gatsby-browser.tsx index d378136..647ead6 100644 --- a/gatsby-browser.tsx +++ b/gatsby-browser.tsx @@ -4,7 +4,7 @@ import "./src/assets/scss/prism/prism-tomorrow.scss"; export const onRouteUpdate = ({ location }: { location: { pathname: string } }) => { const elements = document.querySelectorAll("[data-url]"); - const currentUrl = `https://rickvanlieshout.com${location.pathname ?? ""}`; + const currentUrl = `https://www.rickvanlieshout.com${location.pathname ?? ""}`; const setAttributeIfAvailable = (element: Element, elementIdentifier: string) => { if (element.hasAttribute(elementIdentifier)) { diff --git a/gatsby-ssr.tsx b/gatsby-ssr.tsx index a6487e6..c701a6a 100644 --- a/gatsby-ssr.tsx +++ b/gatsby-ssr.tsx @@ -23,7 +23,7 @@ export const onRenderBody = ({ setHeadComponents, pathname, }: RenderBodyArgs) => { - const currentUrl = `https://rickvanlieshout.com${pathname}`; + const currentUrl = `https://www.rickvanlieshout.com${pathname}`; setHeadComponents([ ,