This commit is contained in:
+4
-4
@@ -1,10 +1,9 @@
|
||||
import { defineConfig } from "tinacms";
|
||||
import { UsernamePasswordAuthJSProvider, TinaUserCollection } from "tinacms-authjs/dist/tinacms";
|
||||
|
||||
// Your TinaCMS configuration
|
||||
export 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",
|
||||
@@ -19,6 +18,7 @@ export default defineConfig({
|
||||
},
|
||||
schema: {
|
||||
collections: [
|
||||
TinaUserCollection,
|
||||
{
|
||||
name: "post",
|
||||
label: "Blog Posts",
|
||||
|
||||
Reference in New Issue
Block a user