Skip to content

Commit

Permalink
fix: revert "fix: Fix sandbox URL in getSandboxUrl function" (#698)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mobyrr authored Mar 13, 2024
1 parent 22c5237 commit 88dfa2c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/histoire-app/src/app/util/sandbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@ export function getSandboxUrl (story: Story, variant: Variant) {
const url = new URLSearchParams()
url.append('storyId', story.id)
url.append('variantId', variant.id)
const baseUrl = base === '/' ? base : base + '/'
return `${baseUrl}__sandbox.html?${url.toString()}`
return `${base}__sandbox.html?${url.toString()}`
}

0 comments on commit 88dfa2c

Please sign in to comment.