1 parent 1f5df85 commit 5a4b758Copy full SHA for 5a4b758
1 file changed
src/module.ts
@@ -175,9 +175,9 @@ export default defineNuxtModule<SanityModuleOptions>({
175
mode: options.visualEditing.mode || 'live-visual-editing',
176
previewMode: (options.visualEditing.previewMode !== false
177
? defu(options.visualEditing.previewMode, {
178
- enable: '/preview/enable',
179
- disable: '/preview/disable',
180
- })
+ enable: '/preview/enable',
+ disable: '/preview/disable',
+ })
181
: false) as { enable: string, disable: string } | false,
182
proxyEndpoint: options.visualEditing.proxyEndpoint || '/_sanity/fetch',
183
refresh: options.visualEditing.refresh,
0 commit comments