From 847952228f7f06c9a46ecf98171eaab1eb245ce9 Mon Sep 17 00:00:00 2001 From: Calum Muir Date: Sun, 7 Jun 2026 12:50:52 +0000 Subject: [PATCH] Set studio basePath to /studio so assets resolve correctly Without basePath the built studio references /static/*.js from the domain root, but files live at /studio/static/*.js causing a blank page. Co-Authored-By: Claude Sonnet 4.6 --- studio/sanity.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/studio/sanity.config.ts b/studio/sanity.config.ts index 43cda69..a174a72 100644 --- a/studio/sanity.config.ts +++ b/studio/sanity.config.ts @@ -5,8 +5,8 @@ import { schemaTypes } from './schemaTypes'; export default defineConfig({ name: 'rda-v3', title: 'Highland Group RDA', + basePath: '/studio', - // Fill these in after running `sanity init` or creating a project at sanity.io/manage projectId: process.env.SANITY_STUDIO_PROJECT_ID ?? '', dataset: process.env.SANITY_STUDIO_DATASET ?? 'production',