fix: Docs redirect to new domain (#853)

This commit is contained in:
Oliver Windall Juhl
2021-12-01 15:39:01 +01:00
committed by GitHub
parent 1de0b28f38
commit 33bdb8f06c
7 changed files with 2567 additions and 2947 deletions
+1 -1
View File
@@ -134,7 +134,7 @@ function DocSearch({ contextualSearch, ...props }) {
const url = replaceUrl(item)
// Need to type out the entire URL to prevent it from attempting to open the page
// as part of the docusaurus project. Which will fail.
window.location = `https://docs.medusa-commerce.com${url}`
window.location = `https://docs.medusajs.com${url}`
},
navigateNewTab({ item }) {
const url = replaceUrl(item)