Skip to content

Commit

Permalink
fix(preview): move comment
Browse files Browse the repository at this point in the history
  • Loading branch information
larbish committed Nov 27, 2024
1 parent b955f76 commit 72e894e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/plugins/studio/preview.client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ export default defineNuxtPlugin(async (nuxtApp) => {
window.sessionStorage.setItem('previewToken', String(previewToken.value))
window.sessionStorage.setItem('previewAPI', typeof route.query.staging !== 'undefined' ? 'https://dev-api.nuxt.studio' : studioConfig.apiURL)

const manifest = await getAppManifest()
// Disable prerendering for preview
const manifest = await getAppManifest()
manifest.prerendered = []

nuxtApp.hook('app:mounted', async () => {
Expand Down

0 comments on commit 72e894e

Please sign in to comment.