diff --git a/package.json b/package.json index a85c53e..a8518e5 100644 --- a/package.json +++ b/package.json @@ -3,8 +3,8 @@ "version": "1.0.0", "private": true, "scripts": { - "dev": "tinacms dev -c \"next dev\"", - "build": "TINA_PUBLIC_IS_LOCAL=true next build && cp -r netlify/functions . && cp public/_redirects out/ && cp -r public/admin out/", + "dev": "next dev", + "build": "next build && cp -r netlify/functions . && cp public/_redirects out/ && cp -r public/admin out/", "start": "next start", "test": "jest", "test:watch": "jest --watch" diff --git a/tina/config.ts b/tina/config.ts index f59f912..5395500 100644 --- a/tina/config.ts +++ b/tina/config.ts @@ -5,11 +5,6 @@ export default defineConfig({ outputFolder: "admin", publicFolder: "public", }, - backend: { - name: "git-gateway", - branch: "main", - }, - local: true, schema: { collections: [ {