Skip to content

Commit 84abf12

Browse files
author
AztecBot
committed
Merge branch 'next' into merge-train/fairies
2 parents 1aeaa37 + 8710840 commit 84abf12

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

docs/docusaurus.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,11 @@ const config = {
315315
],
316316
apiKey: "gpH8o2YnqsOEj2jgtIMTULbtHi1kZ2X3", // public search-only api key, safe to commit
317317
},
318+
// aztec-nr-api pages live in /static/ as raw HTML, not React Router
319+
// routes. Without this, the dropdown calls history.push() and the SPA
320+
// 404s on click. Matching the regex makes the theme use
321+
// window.location.href for a real page load that Netlify resolves.
322+
externalUrlRegex: "/aztec-nr-api/",
318323
},
319324
colorMode: {
320325
defaultMode: "light",

0 commit comments

Comments
 (0)