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(); } ```