diff --git a/docs/js/search.js b/docs/js/search.js index 2725d686144..b21a5eaf3cd 100644 --- a/docs/js/search.js +++ b/docs/js/search.js @@ -1,6 +1,6 @@ 'use strict'; -const root = 'https://mongoosejs.azurewebsites.net/api'; +const root = 'https://mongoose-js.netlify.app/.netlify/functions'; const defaultVersion = '8.x'; const versionFromUrl = window.location.pathname.match(/^\/docs\/(\d+\.x)/);