]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
Update explanation on HTML mode (#1292)
authorBruno Alfred <alfredybruno@gmail.com>
Tue, 1 Feb 2022 14:53:45 +0000 (17:53 +0300)
committerGitHub <noreply@github.com>
Tue, 1 Feb 2022 14:53:45 +0000 (15:53 +0100)
Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
docs/guide/essentials/history-mode.md

index 1747647321f3115a8fea40b3e8e162e6550625a2..9ec7af59db7f4704dc3aabbb32c2a29f9f8a5c15 100644 (file)
@@ -39,7 +39,7 @@ const router = createRouter({
 })
 ```
 
-When using history mode, the URL will look "normal," e.g. `https://example.com/user/id`. Beautiful!
+When using `createWebHistory()`, the URL will look "normal," e.g. `https://example.com/user/id`. Beautiful!
 
 Here comes a problem, though: Since our app is a single page client side app, without a proper server configuration, the users will get a 404 error if they access `https://example.com/user/id` directly in their browser. Now that's ugly.