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:
parent
85495edad4
commit
847952228f
1 changed files with 1 additions and 1 deletions
|
|
@ -5,8 +5,8 @@ import { schemaTypes } from './schemaTypes';
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
name: 'rda-v3',
|
name: 'rda-v3',
|
||||||
title: 'Highland Group RDA',
|
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 ?? '',
|
projectId: process.env.SANITY_STUDIO_PROJECT_ID ?? '',
|
||||||
dataset: process.env.SANITY_STUDIO_DATASET ?? 'production',
|
dataset: process.env.SANITY_STUDIO_DATASET ?? 'production',
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue