Skip to content

Commit

Permalink
chore: use 8.x as default search version
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarpov15 committed Nov 14, 2023
1 parent db7a983 commit 7f935cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/js/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

const root = 'https://mongoosejs.azurewebsites.net/api';

const defaultVersion = '7.x';
const defaultVersion = '8.x';
const versionFromUrl = window.location.pathname.match(/^\/docs\/(\d+\.x)/);
const version = versionFromUrl ? versionFromUrl[1] : defaultVersion;

Expand Down

0 comments on commit 7f935cf

Please sign in to comment.