From ff0aefb11017dd96645d523aeee6f26a1f0cb303 Mon Sep 17 00:00:00 2001 From: Jen Looper Date: Mon, 31 May 2021 21:35:41 -0400 Subject: [PATCH] Update README.zh-tw.md --- 7-bank-project/1-template-route/translations/README.zh-tw.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/7-bank-project/1-template-route/translations/README.zh-tw.md b/7-bank-project/1-template-route/translations/README.zh-tw.md index 389d9ff0..28988700 100644 --- a/7-bank-project/1-template-route/translations/README.zh-tw.md +++ b/7-bank-project/1-template-route/translations/README.zh-tw.md @@ -213,7 +213,7 @@ function updateRoute() { ```js function navigate(path) { - window.history.pushState({}, path, window.location.origin + path); + window.history.pushState({}, path, path); updateRoute(); } ```