Skip to content

Commit d18fa5f

Browse files
authored
chore: remove trailing slash to avoid flash of 404 page (#3484)
1 parent fc2ce52 commit d18fa5f

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

docusaurus.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ const VERSIONS_JSON = require('./versions.json');
1515
* that are built with Docusaurus. The
1616
* Ionic v3 and v4 docs are built with other tools, so those
1717
* versions are not included here.
18+
*
19+
* Note that the urls specified in this file should
20+
* NOT have a trailing slash otherwise users will
21+
* briefly get a 404 Page Not Found error before
22+
* the docuementation website loads.
1823
*/
1924
const ARCHIVED_VERSIONS_JSON = require('./versionsArchived.json');
2025

versionsArchived.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"v5": "https://ionic-docs-5utg8ms4c-ionic1.vercel.app/docs/v5/"
2+
"v5": "https://ionic-docs-5utg8ms4c-ionic1.vercel.app/docs/v5"
33
}

0 commit comments

Comments
 (0)