searchDocumentsPath taking BASE_PATH into account
This commit is contained in:
1 parent
209a947206
commit
6acab36a5d
2 files changed
+2
-2
No files matched your search
@@ -81,7 +81,7 @@ const siteMetadata = {
|
||||
search: {
|
||||
provider: 'kbar', // kbar or algolia
|
||||
kbarConfig: {
|
||||
searchDocumentsPath: 'search.json', // path to load documents to search
|
||||
searchDocumentsPath: `${process.env.BASE_PATH || ''}/search.json`, // path to load documents to search
|
||||
},
|
||||
// provider: 'algolia',
|
||||
// algoliaConfig: {
|
||||
|
||||
Reference in new issue
Block a user