From 8f65123f329e9b4a9d451193e9903981154a49f1 Mon Sep 17 00:00:00 2001 From: eggy Date: Wed, 7 Sep 2022 14:41:24 -0400 Subject: [PATCH] fix: load current page if Nuxt 3 version selected Originally, it would attempt to load BASE_URL/Nuxt 3 (2022), which obviously does not exist. --- data/siteRevisions.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/data/siteRevisions.ts b/data/siteRevisions.ts index f256f1d..9035ec7 100644 --- a/data/siteRevisions.ts +++ b/data/siteRevisions.ts @@ -1,11 +1,12 @@ interface SiteRevision { title: string; - url?: string; + url: string; } export const revisions: SiteRevision[] = [ { title: "Nuxt 3 (2022)", + url: "https://eggworld.tk", }, { title: "Eleventy (2021)", url: "https://2021.eggworld.tk" }, { title: "Vanilla (2019-2020)", url: "https://2020.eggworld.tk" },