fix: added www

This commit is contained in:
2023-10-29 15:41:11 +01:00
parent e7fae60efb
commit 247a9a17e0
3 changed files with 3 additions and 3 deletions

View File

@@ -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)) {