Update Tina config

This commit is contained in:
Cassidy Williams
2023-10-21 00:00:00 -05:00
parent cd1dfa72ff
commit 1569d2df42
2 changed files with 12 additions and 3 deletions

View File

@@ -5,8 +5,8 @@ const branch = process.env.HEAD || "main";
export default defineConfig({ export default defineConfig({
branch, branch,
clientId: null, // Get this from tina.io clientId: process.env.TINACLIENTID, // Get this from tina.io
token: null, // Get this from tina.io token: process.env.TINATOKEN, // Get this from tina.io
build: { build: {
outputFolder: "admin", outputFolder: "admin",
@@ -36,6 +36,7 @@ export default defineConfig({
label: "Layout", label: "Layout",
type: "string", type: "string",
required: true, required: true,
searchable: false,
}, },
{ {
name: "title", name: "title",
@@ -79,4 +80,12 @@ export default defineConfig({
}, },
], ],
}, },
search: {
tina: {
indexerToken: process.env.TINASEARCH,
stopwordLanguages: ["eng"],
},
indexBatchSize: 50,
maxSearchIndexFieldLength: 100,
},
}); });

File diff suppressed because one or more lines are too long