Added Algolia Search

This commit is contained in:
Luke Hagar
2023-04-15 09:08:07 -05:00
parent c32a5e6c95
commit cfe92277c3

View File

@@ -54,7 +54,7 @@ const config = {
customCss: require.resolve("./src/css/custom.css"),
},
gtag: {
trackingID: 'G-MSKDJLGPWF',
trackingID: "G-MSKDJLGPWF",
anonymizeIP: true,
},
}),
@@ -184,6 +184,18 @@ const config = {
content:
"This is not an Official Plex.TV Resource. If you have any feedback on the <a href='https://github.com/LukeHagar/plex-api-spec'>Website</a> or the <a href='https://github.com/LukeHagar/plex-api-spec'>API Specification</a> please let me know!",
},
algolia: {
// The application ID provided by Algolia
appId: "B040KPNF7Z",
// Public API key: it is safe to commit it
apiKey: "6dd932b0ad77bf1b92efa0ff25023ffe",
indexName: "plex-vercel",
// Optional: path for search page that enabled by default (`false` to disable it)
searchPagePath: "search",
},
}),
plugins: [