Skip to content

Commit

Permalink
feat: tina
Browse files Browse the repository at this point in the history
  • Loading branch information
alanwu4321 committed Apr 21, 2024
1 parent 9e2e36f commit d68e449
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion tina/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -823,7 +823,14 @@ export default defineConfig({
branch,
clientId: process.env.NEXT_PUBLIC_TINA_CLIENT_ID, // Get this from tina.io
token: process.env.TINA_TOKEN, // Get this from tina.io
search: process.env.NEXT_TINA_SEARCH_API_KEY,
search: {
tina: {
indexerToken: process.env.NEXT_TINA_SEARCH_API_KEY,
stopwordLanguages: ['eng'],
},
indexBatchSize: 100,
maxSearchIndexFieldLength: 100,
},
build: {
outputFolder: "admin",
publicFolder: "static",
Expand Down
2 changes: 1 addition & 1 deletion tina/tina-lock.json

Large diffs are not rendered by default.

0 comments on commit d68e449

Please sign in to comment.