Skip to content

Commit

Permalink
update keys
Browse files Browse the repository at this point in the history
  • Loading branch information
nsollecito committed Sep 5, 2024
1 parent d6f227f commit e6ce0dc
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 165 deletions.
2 changes: 1 addition & 1 deletion website/.env.example
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TYPESENSE_API_KEY=
TYPESENSE_ADMIN_API_KEY=

Check failure

Code scanning / check-spelling

Unrecognized Spelling Error

TYPESENSE is not a recognized word. (unrecognized-spelling)
TYPESENSE_COLLECTION_NAME=vector_docs

Check failure

Code scanning / check-spelling

Unrecognized Spelling Error

TYPESENSE is not a recognized word. (unrecognized-spelling)
TYPESENSE_HOST=

Check failure

Code scanning / check-spelling

Unrecognized Spelling Error

TYPESENSE is not a recognized word. (unrecognized-spelling)
14 changes: 6 additions & 8 deletions website/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,15 @@ site_generation = 2

# Search
[params.search]
algolia_app_id = "EOIG7V0A2O"
# Note that it's okay to use this on the front end: https://www.algolia.com/doc/guides/security/api-keys/#search-only-api-key
algolia_public_api_key = "5f712eef8e5dcf4ac4bbbd0099960626"

algolia_index_prod = "vector_docs_prod"
algolia_index_staging = "vector_docs_staging"
algolia_autocomplete_theme = "classic"

typesense_api_key = "aTFLzhfCVeTj619Pxkhmz18798Nsau0Z"
typesense_index = "vector_docs"

# Note that it's okay to use this on the front end: https://typesense.com/docs/guide/security.html#public-api-key
typesense_public_dev_apikey = "aTFLzhfCVeTj619Pxkhmz18798Nsau0Z"

Check failure

Code scanning / check-spelling

Unrecognized Spelling Error

Lzhf is not a recognized word. (unrecognized-spelling)

Check failure

Code scanning / check-spelling

Unrecognized Spelling Error

CVe is not a recognized word. (unrecognized-spelling)

Check failure

Code scanning / check-spelling

Unrecognized Spelling Error

Pxkhmz is not a recognized word. (unrecognized-spelling)

Check failure

Code scanning / check-spelling

Unrecognized Spelling Error

Nsau is not a recognized word. (unrecognized-spelling)
typesense_dev_host = "dnm1k9zrpctsvjowp-1"

Check failure

Code scanning / check-spelling

Unrecognized Spelling Error

dnm is not a recognized word. (unrecognized-spelling)

Check failure

Code scanning / check-spelling

Unrecognized Spelling Error

zrpctsvjowp is not a recognized word. (unrecognized-spelling)

# Note that it's okay to use this on the front end: https://typesense.com/docs/guide/security.html#public-api-key
typesense_public_prod_apikey = "sTvKR2ULcYygxPiL9HWEEpNLKlMcYSlf"

Check failure

Code scanning / check-spelling

Unrecognized Spelling Error

Yygx is not a recognized word. (unrecognized-spelling)

Check failure

Code scanning / check-spelling

Unrecognized Spelling Error

HWEEp is not a recognized word. (unrecognized-spelling)

Check failure

Code scanning / check-spelling

Unrecognized Spelling Error

NLKl is not a recognized word. (unrecognized-spelling)

Check failure

Code scanning / check-spelling

Unrecognized Spelling Error

YSlf is not a recognized word. (unrecognized-spelling)
typesense_prod_host = "gk6e3zbyuntvc5dap"

Check failure

Code scanning / check-spelling

Unrecognized Spelling Error

zbyuntvc is not a recognized word. (unrecognized-spelling)

# VRL JSON server
Expand Down
3 changes: 2 additions & 1 deletion website/layouts/partials/javascript/search.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{{ $params := site.Params.search }}
{{ $apiKey := printf `"%s"` $params.typesense_api_key }}
{{ $apiKey := cond hugo.IsProduction $params.typesense_public_prod_apikey $params.typesense_public_dev_apikey }}
{{ $apiKey = printf `"%s"` $apiKey }}
{{ $index := printf `"%s"` $params.typesense_index }}
{{ $host := cond hugo.IsProduction $params.typesense_prod_host $params.typesense_dev_host }}
{{ $host = printf `"%s"` $host }}
Expand Down
3 changes: 1 addition & 2 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
"@types/node": "^16.0.1",
"@types/topojson-specification": "^1.0.1",
"alpinejs": "^2.8.2",
"atomic-algolia": "^0.3.19",
"autoprefixer": "^10.2.5",
"babel-preset-next": "^1.4.0",
"chalk": "^4.1.1",
Expand All @@ -50,7 +49,7 @@
"react-spring": "^9.2.3",
"react-use": "^17.2.4",
"regenerator-runtime": "^0.13.7",
"typesense-sync": "https://s3.amazonaws.com/origin-static-assets/corp-node-packages/devin.ford/synapse-stream/typesense-sync-v1.0.7.tgz",
"typesense-sync": "https://s3.amazonaws.com/origin-static-assets/corp-node-packages/devin.ford/synapse-stream/typesense-sync-v1.0.8.tgz",
"tailwindcss": "^2.2.4",
"tocbot": "^4.12.2",
"topojson-client": "^3.1.0",
Expand Down
File renamed without changes.
Loading

0 comments on commit e6ce0dc

Please sign in to comment.