Skip to content

Commit df921a7

Browse files
committed
fix: #1599
1 parent b46db36 commit df921a7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

packages/slidev/node/commands/export.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,10 +206,9 @@ export async function exportSlides({
206206
if (clicks)
207207
query.set('clicks', clicks)
208208

209-
const path = `${no}?${query.toString()}`
210209
const url = routerMode === 'hash'
211-
? `http://localhost:${port}${base}#${path}`
212-
: `http://localhost:${port}${base}${path}`
210+
? `http://localhost:${port}${base}?${query}#${no}`
211+
: `http://localhost:${port}${base}${no}?${query}`
213212
await page.goto(url, {
214213
waitUntil: 'networkidle',
215214
timeout,

0 commit comments

Comments
 (0)