Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/plugins/docsearch/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ import type { DocSearchClientOptions } from "@astrojs/starlight-docsearch";
export default {
appId: "D32WIYFTUF",
apiKey: "5cec275adc19dd3bc17617f7d9cf312a",
indexName: "prod_devdocs",
indexName: window.location.pathname.startsWith("/style-guide/")
? "prod_devdocs_styleguide"
: "prod_devdocs",
insights: true,
// Replace URL with the current origin so search
// can be used in local development and previews.
Expand Down
Loading