The deployed Studio at hooklab.sanity.studio was crashing because it had no access to Vercel env vars. Hardcode projectId and dataset so sanity deploy works standalone. https://claude.ai/code/session_01H2aRGDaKgarPvhay2HxN6Y
15 lines
382 B
TypeScript
15 lines
382 B
TypeScript
import { defineConfig } from "sanity";
|
|
import { structureTool } from "sanity/structure";
|
|
import { portfolioSchema, siteSettingsSchema } from "./sanity/schemas";
|
|
|
|
export default defineConfig({
|
|
name: "hooklab",
|
|
title: "HookLab",
|
|
projectId: "4r409ts6",
|
|
dataset: "production",
|
|
plugins: [structureTool()],
|
|
schema: {
|
|
types: [portfolioSchema, siteSettingsSchema],
|
|
},
|
|
});
|