Update Tina config
This commit is contained in:
@@ -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
Reference in New Issue
Block a user