File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ const _module: NuxtModule<NuxtStoriesOptions> = defineNuxtModule<NuxtStoriesOpti
136136 // When frameCwd is not set or in other modes the iframe uses same-origin routes.
137137 const frameBaseUrl =
138138 mode === 'shell' && nuxt . options . dev && options . frameCwd
139- ? `http://localhost:${ options . framePort ?? ( nuxt . options . devServer . port + 1 ) } `
139+ ? `http://localhost:${ options . framePort ?? nuxt . options . devServer . port + 1 } `
140140 : undefined
141141
142142 // Expose base paths so runtime composables can compute URLs dynamically
@@ -173,7 +173,7 @@ const _module: NuxtModule<NuxtStoriesOptions> = defineNuxtModule<NuxtStoriesOpti
173173 const frameAbsCwd = path . resolve ( nuxt . options . rootDir , options . frameCwd )
174174 const frameTmpDir = path . join ( frameAbsCwd , '.nuxt-stories' )
175175 const frameTmpConfig = path . join ( frameTmpDir , 'nuxt.config.mjs' )
176- const framePort = options . framePort ?? ( nuxt . options . devServer . port + 1 )
176+ const framePort = options . framePort ?? nuxt . options . devServer . port + 1
177177 // Use the actual running module file path (works in both stub and built mode)
178178 const moduleEntry = new URL ( import . meta. url ) . pathname
179179
You can’t perform that action at this time.
0 commit comments