This commit is contained in:
Generated
+4
-3
@@ -1,9 +1,9 @@
|
||||
// tina/config.ts
|
||||
import { defineConfig } from "tinacms";
|
||||
import { UsernamePasswordAuthJSProvider, TinaUserCollection } from "tinacms-authjs/dist/tinacms";
|
||||
var config_default = defineConfig({
|
||||
branch: process.env.TINA_BRANCH || "main",
|
||||
clientId: process.env.TINA_CLIENT_ID || "",
|
||||
token: process.env.TINA_TOKEN || "",
|
||||
contentApiUrlOverride: "/api/tina/gql",
|
||||
authProvider: new UsernamePasswordAuthJSProvider(),
|
||||
build: {
|
||||
outputFolder: "admin",
|
||||
publicFolder: "public"
|
||||
@@ -17,6 +17,7 @@ var config_default = defineConfig({
|
||||
},
|
||||
schema: {
|
||||
collections: [
|
||||
TinaUserCollection,
|
||||
{
|
||||
name: "post",
|
||||
label: "Blog Posts",
|
||||
|
||||
Reference in New Issue
Block a user