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 <noreply@anthropic.com>
This commit is contained in:
Calum Muir 2026-06-07 12:50:52 +00:00
parent 85495edad4
commit 847952228f

View file

@ -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',