We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db7a983 commit 7f935cfCopy full SHA for 7f935cf
docs/js/search.js
@@ -2,7 +2,7 @@
2
3
const root = 'https://mongoosejs.azurewebsites.net/api';
4
5
-const defaultVersion = '7.x';
+const defaultVersion = '8.x';
6
const versionFromUrl = window.location.pathname.match(/^\/docs\/(\d+\.x)/);
7
const version = versionFromUrl ? versionFromUrl[1] : defaultVersion;
8
0 commit comments