mirror of
https://github.com/microsoft/Web-Dev-For-Beginners.git
synced 2025-08-22 22:34:29 +02:00
Update README.zh-tw.md
This commit is contained in:
@@ -213,7 +213,7 @@ function updateRoute() {
|
||||
|
||||
```js
|
||||
function navigate(path) {
|
||||
window.history.pushState({}, path, window.location.origin + path);
|
||||
window.history.pushState({}, path, path);
|
||||
updateRoute();
|
||||
}
|
||||
```
|
||||
|
Reference in New Issue
Block a user