We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d7c430 commit 23e4c7bCopy full SHA for 23e4c7b
1 file changed
apps/site/next.constants.mjs
@@ -182,6 +182,6 @@ export const OPENCOLLECTIVE_MEMBERS_URL =
182
* Orama DB URLs for the Learn and API sections of the website
183
*/
184
export const ORAMA_DB_URLS = {
185
- [LEARN_URL]: 'https://nodejs.org/learn/orama-db.json',
186
- [DOCS_URL]: 'https://beta.docs.nodejs.org/orama-db.json',
+ [LEARN_URL.slice(0, -1)]: 'https://nodejs.org/learn/orama-db.json',
+ [`${DOCS_URL}latest/api`]: 'https://beta.docs.nodejs.org/orama-db.json',
187
};
0 commit comments