fixing tina
This commit is contained in:
Generated
+23
-3
@@ -3,10 +3,10 @@ import { defineConfig } from "tinacms";
|
||||
var branch = process.env.HEAD || process.env.VERCEL_GIT_COMMIT_REF || "main";
|
||||
var config_default = defineConfig({
|
||||
branch,
|
||||
clientId: "263d908d-7712-4d39-b378-5019e6d7ba45",
|
||||
// Get this from tina.io
|
||||
token: "91dfa2f9c48a168d96f77629d51413a93250f072",
|
||||
clientId: "f68869c9-46b7-4f70-bf52-46783f537a63",
|
||||
// Get this from tina.io
|
||||
token: "e1040fd77966916ca7aa0b2480f9c6bbf865fe7d",
|
||||
// Get this from tina.io
|
||||
build: {
|
||||
outputFolder: "admin",
|
||||
publicFolder: "static"
|
||||
@@ -38,6 +38,26 @@ var config_default = defineConfig({
|
||||
isBody: true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
name: "products",
|
||||
label: "Products",
|
||||
path: "content/products",
|
||||
fields: [
|
||||
{
|
||||
type: "string",
|
||||
name: "productName",
|
||||
title: "Product Name",
|
||||
isTitle: true,
|
||||
required: true
|
||||
},
|
||||
{
|
||||
type: "rich-text",
|
||||
name: "description",
|
||||
label: "Description",
|
||||
isBody: true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user