From d3b02db6c10b67efadd243aa325241e113aa94a8 Mon Sep 17 00:00:00 2001 From: Ardis Lu Date: Fri, 7 Oct 2022 18:48:44 -0700 Subject: [PATCH] Delete unnecessary variable --- index.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/index.html b/index.html index 5b1d9fe..11a9238 100644 --- a/index.html +++ b/index.html @@ -151,8 +151,7 @@ return; } - const base = new URL(`${window.location.origin}`); - const url = new URL(path, base); + const url = new URL(path, window.location.origin); window.history.pushState({}, '', url); showPage(path); -- 2.47.3