Skip to content

Commit

Permalink
fix: update public search key
Browse files Browse the repository at this point in the history
  • Loading branch information
NGPixel authored May 29, 2024
1 parent 8fd565f commit 3a95a16
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion import/gen_search_key.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const Typesense = require('typesense')
async function main () {
const client = new Typesense.Client({
'nodes': [{
'host': 'ts.dev.ietf.org',
'host': 'search-api.ietf.org',
'port': '443',
'protocol': 'https'
}],
Expand Down
2 changes: 1 addition & 1 deletion import/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ async function main () {

const ts = new Typesense.Client({
'nodes': [{
'host': 'ts.dev.ietf.org',
'host': 'search-api.ietf.org',
'port': '443',
'protocol': 'https'
}],
Expand Down
2 changes: 1 addition & 1 deletion ui/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default defineNuxtConfig({
'@nuxtjs/algolia'
],
algolia: {
apiKey: 'xf3EOyUrqUehUeqKiveKiVdv1wZu5fTi',
apiKey: 'ZW2NOeuc0qOE6CmLez2r5d1Gp5lpgH7x',
applicationId: 'typesense',
instantSearch: {
theme: 'satellite'
Expand Down
4 changes: 2 additions & 2 deletions ui/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,10 @@ import TypesenseInstantSearchAdapter from 'typesense-instantsearch-adapter'
const typesenseInstantsearchAdapter = new TypesenseInstantSearchAdapter({
server: {
apiKey: "xf3EOyUrqUehUeqKiveKiVdv1wZu5fTi", // Be sure to use an API key that only allows search operations
apiKey: "ZW2NOeuc0qOE6CmLez2r5d1Gp5lpgH7x", // Be sure to use an API key that only allows search operations
nodes: [
{
host: "ts.dev.ietf.org",
host: "search-api.ietf.org",
path: "",
port: "443",
protocol: "https",
Expand Down

0 comments on commit 3a95a16

Please sign in to comment.